首页 > es6传参数的问题
我写了一个类,他有一个参数params是个对象
params
然后实例化他
但是alert(this.domObj)为什么是undefined??
undefined
我猜,你是constructor拼错了。= =你看你贴的图。//一脸懵逼
constructor