JavaScript Learning Notes - Objects and Inheritance
Object properties There are two types of properties in ES5, data properties and accessor properties. Data attributes include [[writable]] (whether the value of an attribute can be modified), [[...
Object properties There are two types of properties in ES5, data properties and accessor properties. Data attributes include [[writable]] (whether the value of an attribute can be modified), [[...
Scope-related definitions Before we talk about closures, let’s first talk about scopes. JavaScript has global scoping, function scoping. Look at the following code var a = 10;//全局作用域中定义变量 (fun...
Because I envy friends around me for having a cool blog, I spent time in the afternoon setting up this blog. Thanks to online tutorials, I realized it wasn’t that hard. Here is a record of the proc...