kolodny / exercises

Some basic javascript coding challenges and interview questions
4.23k stars 672 forks source link

Prevent a false correct case for async parallel #52

Open liyuankui opened 7 years ago

liyuankui commented 7 years ago

Current test case, all funcs have the same delay, it can be tricked by a loop calling all funcs.

Increase the delay for 1st func will detect the false correct.