var person=function(){
var data={
name:"ddd",
sex:"male",
age:44
}
this.get=function(key){
return data[key]
}
this.set=function(key,value){
if(key!=="sex"){
data[key]=value
}
}
}
var data={
name:"ddd",
sex:"male",
age:44
}
this.get=function(key){
return data[key]
}
this.set=function(key,value){
if(key!=="sex"){
data[key]=value
}
}
}
最赞回答 / 吴智彬
先去nodejs官网下载nodejs:https://nodejs.org/zh-cn/download/ 安装完nodejs之后安装git安装完Git后,应该在Git Bash里执行如下语句:git clone https://www.github.com/cucygh/es6-webpack.git克隆完后 cd es6-webpack执行:npm install等待安装完成执行:npm start
2018-03-28