1: async 異步回調 (ES6)javascript
async function test(){ console.log("hello wolrd"); } test().then(function(){ console.log("回調測試") });
2: 沉睡排序java
var numbers=[1,2,3,4,5,5,99,4,20,11,200]; numbers.forEach((num)=>{ setTimeout(()=>{ console.log(num) },num) })
3: 快速去重 (ES6)異步
var arr = Array.from(new Set([1,2,3,4,4,3,5,6,7,8,8]));
還在不斷收集更新中........async