Question #147705

Which is the correct JavaScript statement to define string as object?


Options:

Explanation:
The strings can also be defined as an object using the new keyword. The correct JavaScript statement to define a string as an object is:
Tags: JavaScript

Test Your Knowledge

Want to practice more questions like this? Take a quiz in this category!

Take a Quiz

Share This Question

 

AdBlock Detected

We've detected that you're using an ad blocker. Our website is made possible by displaying online advertisements to our visitors.

Please support us by disabling your ad blocker for this website.

How to disable your ad blocker:

  1. Click on the ad blocker icon in your browser's toolbar
  2. Select "Pause on this site" or "Don't run on pages on this domain"
  3. Refresh the page