html数组添加对象的方法,js声明数组和向数组中添加对象变量的简单实例
数组有四种定义的方式使用构造函数:var a = new Array();var b = new Array(10);var c = new Array("first", "second", "third");或者数组直接量:var d = ["first", "second", "third"];扩展:function ObjStory(id,biaoti,author,ty