And end up writing the usual garbage that takes 2 GB of RAM just for a chat application... No. Acting like those concepts disappeared just because you write Javascript instead of C makes no sense. It still does memory allocation. You still need to manage it. Thinking that the virtual machine/compiler is doing "magic" is exactly what is wrong with most code today.