js面向对象的类语法实验室v-000

时间:2021-02-20 01:20:57
【文件属性】:
文件名称:js面向对象的类语法实验室v-000
文件大小:25KB
文件格式:ZIP
更新时间:2021-02-20 01:20:57
JavaScript JS Lab中的类语法 目标 重构代码以使用类语法 使用extend关键字练习继承 指示 利用我们对原型的新知识,我们希望重构先前编写的代码以仅一次声明每个函数。 在index.js ,使用构造函数设置的以下属性构建ES2015 BoardMember类: name , homeState和training 。 使用类语法将以下方法添加到原型: veto -返回No, I must disagree approve -退货You can do that! doCharity —回报I like to help people. releasePressStatement —返回值You will see great things from Scuber. sayHi —返回"Hi, my name is . I am from , and I
【文件预览】:
js-object-oriented-class-syntax-lab-v-000-master
----index.js(0B)
----package.json(1KB)
----test()
--------helpers.js(454B)
--------indexTest.js(4KB)
--------sinon-test-utils.js(2KB)
----index.html(1KB)
----package-lock.json(71KB)
----CONTRIBUTING.md(2KB)
----LICENSE.md(1KB)
----.gitignore(451B)
----.learn(132B)
----README.md(2KB)
----.editorconfig(165B)

网友评论