摘要: 1 function copyItem() { 2 const input = document.createElement('input') 3 input.type = 'text' 4 input.value = '' 5 document.body.appendChild(input) 6 阅读全文
posted @ 2020-06-04 16:27 zhishaofei3 阅读(209) 评论(0) 推荐(0)
摘要: I think the explanation from the Mozilla Docs describes it well: You can assign a different this object when calling an existing function. this refers 阅读全文
posted @ 2020-06-04 12:05 zhishaofei3 阅读(173) 评论(0) 推荐(0)