Sign in
Log inSign up

Does JavaScript use stack or heap for memory allocation or both?

pramod's photo
pramod
·Jul 25, 2017

Does JavaScript uses stack or heap for memory allocation or both, I know it uses heap for achieving closures. But does it also use stack. What are the use cases for what it uses and when it uses?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct