Open
Description
A circular reference inside the playground code leads to an infinite loop, crashing the Source Academy. An example can be seen by running the below code:
const a = [];
a[0] = a;
This affects all available runners of all TS, JS, and Scheme variants, except Source §3 Concurrent (which is based on a VM).
The console error appears to be caused by "immer" module, but the error is logged from SafeEffects.ts: