foreach | SoloLearn: Learn to code for FREE!

+1

foreach

Works not only with arrays. It works with all iterables, like ArrayObjects and generators.

2/19/2018 4:17:21 AM

Gennady Vivarev 🐧

1 Answer

New Answer

0

for...in in javascript also works for arrays not only objects