Object-Constructor-Practice:它包含一个练习对象构造函数的exersize

时间:2021-05-10 18:15:53
【文件属性】:
文件名称:Object-Constructor-Practice:它包含一个练习对象构造函数的exersize
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-10 18:15:53
JavaScript 对象构造者实践 该存储库包含一个练习对象构造函数的扩展程序。 这些说明是: 1. Create a constructor function called Tree. It should take 4 arguments that correspond to attributes on the objects it creates. Two attributes should be 'name' and 'leaf shape'. Pick the other two. 2. Create 4 tree objects using your Tree function. 3. Put those objects into an array called tree_array. 4. for each tree in tree_array, add a block element to t
【文件预览】:
Object-Constructor-Practice-master
----index.html(282B)
----main.js(1KB)
----README.md(890B)

网友评论