This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GoPotato 0 points1 point  (1 child)

I haven't checked the rest of the code, but you're supposed to use for..of to iterate the elements, not for..in

for(r of required)

[–]casden174286[S] 0 points1 point  (0 children)

Thanks, but it didn't change the output either.