Javascript challenge 115

Can someone help me with challenge 115 for basic JavaScript?

It says:

Assign the value 7 to variable a.

Assign the contents of a to variable b.


var a = 7;
var b = var a;

doesn’t work and I don’t understand what it is asking then if that isn’t correct?

You can’t use var b = var a. To refer to an existing variable, you just need the name: var b = a;

It should be

var a = 7;
var b = a;

You declared a twice. and I think you cannot pass values like that.