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

Javascript level 2 lesson 5

var myVar = null;
console.log(myVar);

getting error
run buton is not working and if the output is null then the submit buton is not working saying create a new variable . what should i do i am trying since 1 day now i am frustated how to complete it . please help me out!
by

1 Answer

kshitijrana14
Try this one.

// write your code here

var myVar;
console.log(myVar);

var myVar=null;
console.log(myVar);

thank you for your patience. we are working on compiler so you might get error have patience..Happy Learning

Login / Signup to Answer the Question.