Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 742 Bytes

File metadata and controls

17 lines (14 loc) · 742 Bytes

JavaScript Features (with TypeScript)

Since TypeScript supports everything in the current ECMAScript specification, we're going to go over the existing JavaScript features quickly and transition to new features available in ES2015 and beyond, which are also supported in TypeScript. These features are all transpiled to ES5, while others not covered here need to target ES6 (this will be covered in a future chapter).

Features

  1. ES5 (current version) - function, var, array methods, etc.
  2. let and const
  3. Classes (Static, Public/Private, Property Types)
  4. Arrow Functions
  5. Template Strings
  6. Object Literals
  7. Destructuring
  8. Default and Rest Parameters
  9. Spread Operator
  10. Iterators and for..of
  11. Decorators