1: async asynchronous callback (ES6)
async function test(){
console.log("hello wolrd");
}
test().then(function(){
console.log("回调测试")
});
2: Sort sleeping
var numbers=[1,2,3,4,5,5,99,4,20,11,200];
numbers.forEach((num)=>{
setTimeout(()=>{
console.log(num)
},num)
})
3: Fast de-emphasis (ES6)
var arr = Array.from(new Set([1,2,3,4,4,3,5,6,7,8,8]));
The collection is constantly updated ........
Reproduced in: https: //www.cnblogs.com/Kummy/p/6782682.html