摘要:
JS-面向对象编程 工厂模式动态创建对象 creatMain(name, age, company) { let people = new Object() people = { name: name, age: age, company: company } return people }, op 阅读全文
摘要:
JS - module(模块系统) 重新学习ES6 倒数第一章 module 什么是module? 百度的解释 之前接触过AngularJS,现在看Dojo,都有对模块的使用。在dojo官网看到这段文字,觉得很好得对JS的模块化的必要性有所解释,所以记录下来: What is a module? A 阅读全文