Tell us what’s happening:
Hi!
I’m storing the values in a and b, and later assigning a to b with = , yet the last command isn’t checked when i submit my codes. Can anyone spot the mistake in my code? Thanks
Your code so far
// Setup
var a;
var b = 2;
// Only change code below this line
a = 7
b = 7
a = b
b = a
Your browser information:
// running tests
a should be assigned to b with =
// tests completed
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/storing-values-with-the-assignment-operator