types, values, and variables
1, primitive type number, string, and Boolean null null undefined not defined
2. Object type
3, class Array Function Date RegExp Error
4. Integrated garbage collection in JS parser
5, any value of JS can be converted to a Boolean value
6. Type conversion toString () valueOf ()
7.js is a dynamic type var n = 10; Type of variable is not determined during program run
8.js inheritance can only get the value of a property from the parent class, and cannot modify the prototype chain
9. Delete attribute Delete Book.subtitle detection property in Hasownpreperty () propertyisenumerable () var o = {x:1};
10. Attributes ecmascript5 The old IE does not support the following usage
attribute of the Data attribute: value of the writable writable
Enumerable enumerable
Configurable configurable
Accessor attribute properties: Get Set
Enumerable enumerable
Configurable configurable
Function call, method call
function T () {}
T (); Function call this is the global object in strict mode is undefined
var o = {a:function () {}};
A () method call this is the object that is currently being called
Constructor call
var o = new Object (); var o= new Object;
o The This object is inside the prototype property that inherits from the constructor
var r = new O.M (), in which this is not O
To invoke a function first, a function entry is generally window.onload = functions () {};
There are also some tags directly called function must have trigger event such as: onclick click Mouse Ondblcliack double click and so on
If you have self-taught friends I recommend you to the http://www.w3school.com.cn website to learn
Some of my summary of JavaScript