LearnFrenzy
Sign in Take a free test

JavaScript Output Questions · Quick Output MCQ · Question 10

new Array(3) as a string Answer, explanation & discussion

  • MCQ
  • Medium
  • 0 comments
  • Answer explained
  • Moderated community
Question 10 Back to Exercise

What is new Array(3).toString()?

  • A "3"
  • B ",," Correct
  • C ",,,"
  • D ""
Correct Answer: Option B

Three empty slots join to two commas.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links