Skip to content

A talk about modern JS: ECMAScript 5, 2015 and 2016.

License

Notifications You must be signed in to change notification settings

peferron/modern-js-talk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modern-js-talk

A talk about modern JS: ECMAScript 5, 2015 and 2016.

View the slides in your browser.

The sample app in the app directory is meant to be upgraded from old JS to modern JS one feature at a time, in parallel with the slides. The initial code is es3-with-options.js and the final code is es2016-with-options.js.

Similarly, the TypeScript code can be upgraded from straight-from-js.ts, which relies on type inference and has a few blind spots, to with-types.ts, which has type declarations and compiles successfully even if noImplicitAny is set to true in tsconfig.json.

This blog post has some additional information.