sandbox.js (245B)
1import { expose } from './comlink-4.3.1.js'; 2 3expose({ 4 run(code, errorHandler) { 5 try { 6 return eval(code); 7 } catch (error) { 8 console.log("caught!"); 9 errorHandler(error); 10 } 11 } 12});
![]() | cscg24-wsbxCSCG 2024 Challenge 'wsbx' |
git clone https://git.sinitax.com/sinitax/cscg24-wsbx | |
Log | Files | Refs | sfeed.txt |