随笔分类 -  JS

javascript
Loop a string
摘要:var text = 'uololooo'; // With ES6 [...text].forEach(c => console.log(c)) // With the `of` operator for (const c of text) { console.log(c) } // With E 阅读全文
posted @ 2019-01-21 16:42 小兔无情 阅读(128) 评论(0) 推荐(0)