Help on Storing Values with the Assignment Operator

**Tell us what’s happening:**Anybody with a hint on how to get this right? How do i assign variable a to variable b? Ive tried using a=b, but for some reason it says im wrong.

Your code so far

// Setup
var a;
var b = 2;

// Only change code below this line
 var a=7;
 var b=7;

Link to the challenge:

assign a variable like this:

a = b;

This will make ‘a’ hold the value of ‘b’.

Tried it but it doesnt work.

It’s the other way around. b should hold the value of a

Assign the contents of a to variable b.

You were told to assign a to b not b to a.
Try this.
b = a;

Thanks everyone. Got It. #need to pay more attention to detail