I am new to JavaScript. I'm used to Java, so I'm trying to map two worlds in horribly wrong ways.
Questions:
- Each Java instance runs on the JVM. What is the JVM equivalent for JavaScript?
- In Java, objects take up memory and memory is stored on the heap. Where are javascript objects stored? In other words, what is a bunch of JVM equivalent to JavaScript?
- Each function call in Java adds a stack frame. Are JavaScript function calls being made (e.g. add stack)?
source
share