Skip to main content

JavaScript Question 50

Question 50 of 0JavaScript

What's the output?

Login Required

Please login to select answers and solve this question. You can view the question without logging in.

Code:
[1, 2, 3].map(num => {
  if (typeof num === 'number') return;
  return num * 2;
});

Select the correct option: