Pass an object value out of the addeventlistener function scope javascript

后端 未结 0 1976
慢半拍i
慢半拍i 2021-01-18 06:39

addbtn.onclick= function(){ const fName= firstName.value; const
lName= lastName.value; const trSubject= trainerSubject.value;

let trainer={ fName, lName

相关标签:
回答
  • 消灭零回复
提交回复
热议问题