摘要:
1.Learn underlying systems. 2.Know command line tools. 3.Learn to write tests. 4.Play well with others. 5.Bad architecture causes more problems than b 阅读全文
摘要:
对象可以定义为:“无序属性的集合,其属性可以包含基本值、对象或者函数。”严格来讲,就相当于说对象是一组没有特定顺序的值。对象的每个属性或方法都有一个名字,而每个名字都映射到一个值。 创建自定义对象最简单的方式就是创建一个Object的实例,然后再为它添加属性和方法。 var person=new O 阅读全文