Closed AlexXanderGrib closed 2 years ago
Code:
function tick() { /* works with canvas */ } (function loop() { tick(); requestAnimationFrame(loop); })();
p42 suggests to remove IIFE and deems it safe. Result:
{ tick(); requestAnimationFrame(loop); // So loop is undefined }
Thanks for the bug report!
Starting in v1.147.2, remove IIFE is not available any more when there are self-references to the function. Please re-open if the bug still occurs.
v1.147.2
Code:
p42 suggests to remove IIFE and deems it safe. Result: