Sign in
Log inSign up

Is JavaScript a compiled language or an interpreted language?

Siddarthan Sarumathi Pandian's photo
Siddarthan Sarumathi Pandian
·Jan 26, 2018

Well, in the first place, MDN clearly says that JavaScript is an interpreted language (it also says JIT-compiled which I will address later in the article). Still there is a question that if JavaScript is really interpreted because of the following points.

  • If interpreted then how does hoisting takes place?
  • JIT (just-in-time compiler) makes code optimizations (also create compiled versions); interpreted languages can never do that.
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