Javascript — 第07天
IPFS
今日主題 📕
- ES7
- ES8
- ES10(ES2019)
- - flat()
🎃到github找source code | Here
ES7
ES8
- 將空白插入開頭 padStart
- 將空白插入末端 padEnd
- keys
- values
- entries
替代Replacement
ES10
- 平面化flat()
- 如何flat 巢狀陣列(nested array)
- 將開頭去空白 trimStart()
- 將末端去空白 trimEnd()
- fromEntries
- entries
- 抓錯好幫手 -- try & catch
進階迴圈(Advanced Loops)
- 基礎迴圈(basic loops)
Like my work? Don't forget to support and clap, let me know that you are with me on the road of creation. Keep this enthusiasm together!
- Author
- More