NOVEMBER 14, 2018
const numbers = [1, 3, 100, 24]; for (const item of numbers) { console.log(item); // 1, 3, 100, 24 }
If you found this useful, you might want to join my newsletter; or take a look at other posts about code, TypeScript, and React.
for...of · TypeScript Deep Dive ↩
CodeTypescript