A

Akash Lawaniya • 9.58K Points
Tutor III

Q. 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)

  • (A) false.toString()
  • (B) String(false)
  • (C) String newvariable=”false”
  • (D) Both false.toString() and String(false)
  • Correct Answer - Option(D)
  • Views: 119
  • Filed under category JavaScript

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics