Is javascript a statically typed or a dynamically typed language?

·

1 min read

JavaScript is a dynamically typed language because type of the variables are checked in runtime contrary to the statically typed language where type of variables are checked during compile time.