No description or website provided.
JavaScript
Pull request Compare This branch is 13 commits ahead of gabrielg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor
.gitignore
README.md
cup.js
d
demo
http.js
package.json

README.md

Introduction to JavaScript

Heritage

  • Around since 1995, formalized as ECMAScript
    • Some standards
    • Nothing to do with Java, just a marketing ploy
  • Imperative
  • Interpreted
  • Object-oriented
    • Uses prototypal inheritance versus classical inheritance
  • Functional
  • Owes design credit to languages like Self, Lisp, and C (syntax)

Implementations

It's not going anywhere: browser, server-side. Might as well embrace it.

Run-through

  • literals
  • assignment
  • typing
  • control structures
  • functions
  • exceptions
  • objects
  • prototypal inheritance
  • classical inheritance

Examples

  • observer pattern with functions
  • singleton pattern
  • node.js http server
    • hello, world

Testing frameworks

See also