1

Assume that we have to convert “false” that is a non-string to string. The command that we use is (without invoking the “new” operator)

Correct Answer: Both false.toString() and String(false)

Make the most of this question

This page focuses on one JavaScript MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JavaScript MCQs MCQ: Assume that we have to convert “false” that is a non-string to string. The command that we use is (without invoking the “new” operator) | Extra Education