- let let is ES6 feature for assign a variable, the difference between var and let is its scope , var scope is to the nearest function block where let is scoped to the nearest enclosing block, which can be smaller than a function block. Both are global if outside any block
- Arrow Function Arrow function is ES6 syntax feature for simplify function writing and expressions, they utilize a new token, * => * that look like fat arrow
- Template Literal basically Template Literall is using back-tick ` to delineate a template literal. This distingushes from traditional JavaScript strings that are delineated with single or double quotes.
- Spread Operator basically like variadic function in Golang (...params)
- Class just like regular class but with ES6 syntax it more clearer and simpler compared to traditional javascript class
- Inheritance like any other Inheritance, it take the superClass or parentClass and then the childClass have those attribute and method, and have addition attribute and/or method
- Generator are functions which can be exited and later re-entered. Their context(variable bindings) will saved across re-entracnes, usually are used in Promises and very powerful tool for asyncronous as they eliminate the problems with callbacks
ecmascript6's Introduction
ecmascript6's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.