javascript学习计划2JavaScript学习计划22020.9.7 javascript学习计划
JavaScript学习计划2避免不必要的变量fullname = this.firstName +" "+this.lastNamedocument.getElementById('app').innerHTML = fullName//更好的做法:document.getElementById("app").innerHTML = this.firstName+" "+this.lastNameES5的特性:string.strim