Create an object using javaScript
1. The object ECMA-262 defines the object as a set of unordered attributes, whose attributes can contain basic values, objects or functions. Therefore, objects in js are a set of key-value pairs. In object-oriented languages, you can use classes to create any number of object instances with the same attributes and methods. However, js does not have the concept of class. Next, I will use an example to illustrate the philosophy of js without the concept of "class. This will confuse beginners, but it is also because the concept of "class" is put down that js objects have no vitality in other programming languages. In fact, the "class" of objects in js is constantly evolving from nothing to existence, and eventually disappears from the invisible. For example, in the story of Xiao looking for his mother, Xiao gradually becomes the same class as his mother in the process of its own type evolution ". <! DOCTYPE html> <meta charset = "UTF-8">