Javascript

From Adam Colton
Jump to navigation Jump to search

So my JS chops are apparently wildly out of date.

http://es6-features.org/#Constants

Promise

Seen these before, now part of the language.

Arrow Func

Can down define a func with a lambda

 var myFunc (arg) => arg+"!";

Can this point to a block? YES!

Modules

http://exploringjs.com/es6/ch_modules.html#sec_overview-modules

Has require, but not sure how it works.

Classes

whole buncha new stuff