mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
- User code with return statement was exiting the async IIFE early - Completion callbacks and window.complete() were never reached - Now wrap user code in userCodeFunc to capture return value - Return statement returns from userCodeFunc, not outer IIFE - Completion callbacks and window.complete() always execute - Return value is logged to console output - Fixes 30-second timeout when using return statements in REPL