Brief Introduction
Objects are called values of reference types in JavaScript, and there are built-in reference types that can be used to create specific objects that are similar to classes in traditional object-oriented programming, but implement different native reference types
1, object is an underlying type, all other types inherit from Object the basic behavior;
2. The array type is an ordered list of values, while also providing the ability to manipulate and convert these values;
3. The date type provides information about dates and times, including the current date and time, and related calculation functions;
4. The REGEXP type is a ECMAScript interface that supports regular expressions, providing the most basic and advanced regular expression functionality.
5, the function is actually an instance of the function type, so the functions are objects, and this is where JavaScript is most distinctive. Because functions are objects, functions also have methods that can be used to enhance their behavior.
Reference blog:
http://blog.csdn.net/iamcgt/article/category/6919501 Basic Packing type
Because of the basic wrapper type, the basic type values in JavaScript can be accessed as objects. The three basic types of packaging are Boolean, number, and String. The following are their common features:
1. Each wrapper type is mapped to the base type with the same name;
2, in read mode access to the basic type value, you will create a corresponding basic packaging type of an object, so as to facilitate data manipulation;
3, the operation of the basic type value of the statement once executed, will immediately destroy the newly created wrapper object.
Reference blog:
http://blog.csdn.net/iamcgt/article/details/73733862 monomer built-in objects
Before all code executes, there are two built-in objects in the scope: Global and Math. The Global object is not directly accessible in most ECMASCRIPT implementations, but the Web browser implements the Window object that assumes the role. Global variables and functions are properties of the global object. The Math object provides a number of properties and methods to assist in the completion of complex mathematical computing tasks.
Reference blog:
http://blog.csdn.net/iamcgt/article/details/77951482 Reference
"JavaScript Advanced Programming (3rd edition)"