πŸ“Š JavaScript
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)
πŸ’¬ Discuss
βœ… Correct Answer: (D) Both false.toString() and String(false)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
165
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akash Lawaniya
Publisher
πŸ“ˆ
88%
Success Rate