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
Answer:
Which is the correct JavaScript statement to define string as object var s = new String("IncludeHelp!");.