wiki/content/20201112101851-javascript_string_iteration.md

13 lines
178 B
Markdown

---
date: 20201112
id: ca9793a1-b56c-453c-a564-882ba0bd138b
title: JavaScript String Iteration
---
# Syntax
``` javascript
for (const ch of 'abc') {
console.log(ch);
}
```