You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Last inner "for" loop, checking whether threshold and response array 's lengths are equal, does not need condition as the response can be in any order, hence "if-condition" can be placed outside.
2) Instead of Map functions we can used basic JS object functions.
3) Few other changes - Spelling mistake(s), variable declaration changes in for-loop.
0 commit comments