for...of...loop example code

for...of...loop example code

for...of...loop example

for...of...loop example in css

const array = ['a', 'b', 'c', 'd'];
for (const item of array) {
    console.log(item)
}
// Result: a, b, c, d

const string = 'Ire Aderinokun'; for (const character of string) { console.log(character) } // Result: I, r, e, , A, d, e, r, i, n, o, k, u, n

By Manish Salunke In css -

Tags:

css

Sponsors

themeforest
pluralsight
Invest in you. Online courses as low as $11.99