Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 6 Lesson 2 JavaScript

let str1;
let str2;

// write code here (this is my code)
str1 = `Studytonight`;
const str2 = String(str1);
console.log(str1);
console.log(str2);

Could someone please tell me the answer of this exercise? Thank you in advance.
by

1 Answer

kshitijrana14
try this one

let str1=`Studytonight`;
let str2=String(str1);
const ff=String(str1);
// write code here

console.log(str1);
console.log(str2);

Login / Signup to Answer the Question.