一、数据类型
1.1 原始类型(primitive type)
1.number
(不管整数还是小数都是number类型)


2.string


3.boolean


4.null

5.undefined

2.2 引用类型(object type)
1. Object

2、Array

3、Date

4、function

3.3 其他内置对象

二,函数
2.1 函数的定义方式
方式一:普通函数

方式二:匿名函数
2.2 函数中的arguments使用

三,对象
3.1 JavaScript中对象的创建方式
方式一:直接创建

方式二:new Object()创建

方式三:用构造方法

四,json序列化和反序列化

浙公网安备 33010602011771号