DEV Community

Discussion on: 70 JavaScript Interview Questions

Collapse
 
udit1994 profile image
Udit Kaushik

Great article. Very informative. For the question 34, 35 and 36. The implementation might not be quite accurate. You might wanna re-check. For example, to map(), we just pass the callback function. While in your implementation above, you are passing both array and callback to the map(). The array will be available as this inside the map(). Please do correct me if i am wrong.