Answers for "for in vs for of"

0

for in vs for of

for in loops over enumerable property names of an object.

for of (new in ES6) does use an object-specific iterator and loops over the values generated by that.
Posted by: Guest on July-26-2021

Browse Popular Code Answers by Language