Link Search Menu Expand Document

Assigning the Value of One Variable to Another

Summary

  • The value of one variable can be directly assigned to another variable.

Final Code

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