ES6 Class
Class
1 | // class factory |
Calculated attribute name
1 | class User { |
Class field
1 | // class field |
Extends — How the super
run
1 | let animal = { |
Prototype
change the basic class
1 | let user = { |
Magic of the instance of
1 | class Animal { |
Static
1 | class User { |