Message from JavaScript discussions

November 2018

— But it happens


If you repeat this step, and replace the number with a big array or something, memory will increase as you keep running it

— The only thing is static analysis

— Even if the function doesn't reference the array

— But with the modern models, i think neither that can be the exception

— Gc analyzes while the code is running

— Yes, sure

— But it can't figure out this case

— Why’s that

— Dunno

— I have just observed the memory

— Why do your observations make you conclude eval stops gc?