#js
Read more stories on Hashnode
Articles with this tag
创建型 工厂模式 let Factory = function (type,content){ if(this instanceof Factory){ let s = new this[type](content); return s; ...