面向对象和函数编程: 1.将JavaScript对象声明为变量Declare JavaScript Objects as Variables 2.用函数构造JavaScript对象Construct JavaScript Objects with Functions 3.使用构造函数创建对象实例Make Instances of Objects with a Constructor Function 4.通过向构造函数传递参数来创建唯一对象Make Unique Objects by Passing Parameters to our Constructor 5.将对象属性设为私有,闭包方法Make Object Properties Private 6.用映射遍历数组,map 方法可以方便的迭代数组Iterate over Arrays with map 7.数组方法 reduce 用来迭代一个数组,回调函数,累加器Condense arrays with reduce 8.filter 方法用来迭代一个数组,并且按给出的条件过滤出符合的元素。Filter Arrays with filter 9.sort 方法,按字母顺序或数字顺序对数组中的元素进行排序。Sort Arrays with sort 10.使用 reverse 方法来翻转数组Reverse Arrays with reverse 11.concat 方法用来把两个数组的内容合并到一个数组中Concatenate Arrays with concat 12.使用 split 方法按指定分隔符将字符串分割为数组Split Strings with split 13.使用 join 方法来把数组转换成字符串Join Strings with join