Javascript Basic

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 →

  1. first-class functions (functions are just objects that can be passed around as values like strings and numbers)
  2. closures (a function has access to the variables in scope when the function was created)
  3. versatile and dynamic objects (object literal notation is pretty powerful)
  4. prototypal inheritance (using another object to base new objects off of)

 

 

 

 

posted @ 2023-01-24 03:55  M1stF0rest  阅读(30)  评论(0编辑  收藏  举报