摘要:
文中所有查找元素的操作均以此图为例 1.绑定事件on和click $(selector).bind(event,data,function,map) $(selector).click(function) $(selector).on(event,childSelector,data,functio 阅读全文
摘要:
1.字符串转为数组 let str = 'helloworld' let tempStr = str.split('') let arrStr = [...str] console.log(tempStr) //["h", "e", "l", "l", "o", "w", "o", "r", "l" 阅读全文