3 ms·
On a side note, I'm curious how the sandbox was implemented. For security issues, how does one make sure that the sandbox is not just a javascript eval?
by pandatigox 5y ago
On a side note, I'm curious how the sandbox was implemented. For security issues, how does one make sure that the sandbox is not just a javascript eval?
- kmill 5y agoThe source code is all right there in play.js This is a solution to every puzzle: eval(goal_program); draw_checkerboard = draw_checkerboard_goal;
- andersource 5y agoHey! There isn't a sandbox, this is indeed just a javascript eval. It's essentially the same as running code on the devtools console, except with an editor UI and wrapped in way that saves the hassle of messing with the DOM.