ES7:
1、幂操作
3的5次方:
ES5:Math.pow(3, 5)
ES7:console.log(3**5)
2、Array.includes()类似于indexOf
ES8:
async/await
ES9:
rest/spread 消除异步操作,不常用, 类似于async/await
异步迭代
Promise.all/race/finally
正则表达式增强
ES7:
1、幂操作
3的5次方:
ES5:Math.pow(3, 5)
ES7:console.log(3**5)
2、Array.includes()类似于indexOf
ES8:
async/await
ES9:
rest/spread 消除异步操作,不常用, 类似于async/await
异步迭代
Promise.all/race/finally
正则表达式增强