+ 1

Problem with ES6 exercise 62.3 "Distinct values of the set"

Is there a problem with the exercies in the ES6 Map & Sets section: 62.3 Practice - Distinct values of the set Whenever i run the code - even if I re-set it - the output is always "Execution Timed Out!"

1st Jan 2021, 2:11 PM
Martin Ed
Martin Ed - avatar
2 Answers
+ 2
Martin Ed Are you incrementing the `count` variable? See the condition of the while loop, `count < 3`, which means that the loop will keep running till `count` is smaller than 3. So remember to increment the `count` variable.
1st Jan 2021, 2:15 PM
XXX
XXX - avatar
+ 1
@XXX aaah - of course that's it! I must have been blind. Thanks a lot :-D
1st Jan 2021, 2:47 PM
Martin Ed
Martin Ed - avatar