Write Your JavaScript Code Here
Run
Black
Copy Code
//String using new keyword :-The syntax of creating string object using new keyword is given below: var stringname=new String("string literal"); console.log(stringname)
Output: