Write Your JavaScript Code Here

//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: