Javascript Features

In notebook:
FrontEndMasters Advanced JS fundamentals
Created at:
2015-10-07
Updated:
2019-08-08
Tags:
Fundamentals JavaScript
Learn JS Fundamentals to jQuery & Pure DOM Scripting

JS is Dynamic


> Compilation and execution happen together

Note: (According to Kyle it's not completely true - it is compiled before it's run)

> You building structures while the program is running. In computer's memory there's no distinction between code that is running and structures that store data

JS is Weakly Typed

type travels with the value and not with the variable

JS has 1st Class Functions

Anything you can do with an object you can do it with a function 

  • create
  • return a function
  • call as an argument
  • run of course
  • (add prototypes)

JS is Prototype Based