摘要:
<h1 class="heading"> <button>fire</button> <button>Dancer</button> <button>Ice Cream</button> <button>Hamburger</button> <button>Fish</button> </h1> / 阅读全文
摘要:
// weakSet 基础用法 let jelly = {name:'jelly',age:20}; let mary = {name:'mary',age:25}; const weakPeople = new WeakSet([jelly,mary]) console.log(weakPeopl 阅读全文
摘要:
// Proxy 基础用法 const person = { name:'laravist', age:2000 } const personProxy = new Proxy(person,{ get(target,key){ return target[key].toUpperCase(); } 阅读全文
摘要:
Generator实例,维护多个ajax依次执行的队列 ps 需要提前引入<script src="https://unpkg.com/axios/dist/axios.min.js"></script>// Generator实例,维护多个ajax依次执行的队列 function ajax(url 阅读全文