Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

JavaScript is very strongly typed. Everything will have a type. And it will be enforced and checked during runtime. This will prevent buffer overflows and memory leaks.

JavaScript is dynamically typed. This allows you to to do funny things like [1,2,3] + ",4" Because it's strongly typed, all values will be converted to a type.

JavaScript does type checking during compilation, but it's not considered a static language, because it allows "duct typing" meaning you can add or remove properties and methods on objects during runtime.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: