JavaScript对象 JavaScript对象(object)有property和method两个性质。 注意:JavaScript脚本中的docment.write中可写html格式的文本。如:document.write("<h1>hi</h1><p>hello</p>"); __w3schools__ Array对象 属性 属性的调用:arrayName.propertyName constructor length prototype 方法 方法的使用:arrayName.methodName() concat(), join() 返回数组,返回字符串 pop(), push()

评论