DEV Community

loading...

Discussion on: Five Cool Ways to Iterate over JavaScript String

Collapse
mellen profile image
Matt Ellen
[...'World'].forEach(l => console.log(l));