learn_enough_javascript_testing_with_TDD

时间:2021-04-29 04:54:34
【文件属性】:
文件名称:learn_enough_javascript_testing_with_TDD
文件大小:3KB
文件格式:ZIP
更新时间:2021-04-29 04:54:34
JavaScript 短语对象(带有回文探测器) 迈克尔·哈特尔(Michael Hartl)在“学到了足够JavaScript来学习危险”教程中创建了示例NPM模块。 该模块可以按如下方式使用: $ npm install --global beeftosino-palindrome $ vim test.js let Phrase = require("beeftosino-palindrome"); let napoleonsLament = new Phrase("Able was I, ere I saw Elba."); console.log(napoleonsLament.palindrome()); $ node test.js true
【文件预览】:
learn_enough_javascript_testing_with_TDD-master
----index.js(3KB)
----package.json(704B)
----readme.md(417B)
----test()
--------test.js(1KB)

网友评论