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

JavaScript Datatypes Level 2 Lesson 5

I'm currently in Lesson 6 JavaScript Datatypes. Under the topic More about undefined and Null.
I am currently doing the exercise I have succeeded in writing the code but still complaining about creating a new variable.
by

2 Answers

kshitijrana14
Try this one level 2 lesson 5

// write your code here

var myVar;
console.log(myVar);

var myVar=null;
console.log(myVar);
kshitijrana14
Try this one level 2 lesson 6

// Please write your code here

const myConst="Studytonight";
console.log(myConst);

Login / Signup to Answer the Question.