JS面向對象的本質不是基於類(class),而是基於構造函數(constructor)和原型對象(prototype)
創建對象(封裝)
最簡單的創建對象的方式就是通過Object的構造函數或者對象字面量,但這兩種方式在使用同一個接口創建多個對象時會產生大量重複代碼。
工廠模式
function createPerson(name, age, job) {
let o = new Obj
In software development process what is the meaning of debugging?
How can you make sure that your code is both safe and fast?
Name two tools which are used for keeping track of software requirements?