Javascript is a dynamically typed, weakly typed and interpreted high-level programming language.
Interesting JavaScript Features
We'll go over these in more detail in the next couple of classes but it's nice to get a preview here as motivation to learn the language →
- first-class functions (functions are just objects that can be passed around as values like strings and numbers)
- closures (a function has access to the variables in scope when the function was created)
- versatile and dynamic objects (object literal notation is pretty powerful)
- prototypal inheritance (using another object to base new objects off of)
标签:function,functions,typed,Javascript,objects,Basic From: https://www.cnblogs.com/M1stF0rest/p/17065757.html