Storing Values with the Assignment Operator1

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

How can I Assign the value 7 to variable a .

Assign the contents of a to variable b .

Your code so far


// Setup
var a;
var b = 2;

// Only change code below this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.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

first you need to try yourself

you assign values using the assignment operator =
what you put to the right of the assignment operator is stored in the variable to the left