0
What is the output of the following JavaScript code?
console.log(['1', '2', '3'].map(parseInt).join(' '));- ANaN NaN NaN
- B1 2 3
- C1 NaN 3
- D1 NaN NaN
Correct answer: D
What is the output of the following JavaScript code?
console.log(['1', '2', '3'].map(parseInt).join(' '));