fixed typo in storing values exercise
This commit is contained in:
@ -129,10 +129,10 @@
|
|||||||
"description": [
|
"description": [
|
||||||
"In JavaScript, you can store a value in a variable with the <dfn>assignment</dfn> operator.",
|
"In JavaScript, you can store a value in a variable with the <dfn>assignment</dfn> operator.",
|
||||||
"<code>myVariable = 5;</code>",
|
"<code>myVariable = 5;</code>",
|
||||||
"Assigns the <code>Number</code> value <code>5</code> to <code>myVariable</code>.",
|
"This assigns the <code>Number</code> value <code>5</code> to <code>myVariable</code>.",
|
||||||
"Assignment always goes from right to left. Everything to the right of the <code>=</code> operator is resolved before the value is assigned to the variable to the left of the operator.",
|
"Assignment always goes from right to left. Everything to the right of the <code>=</code> operator is resolved before the value is assigned to the variable to the left of the operator.",
|
||||||
"<blockquote>myVar = 5;<br>myNum = myVar;</blockquote>",
|
"<blockquote>myVar = 5;<br>myNum = myVar;</blockquote>",
|
||||||
"Assigns <code>5</code> to <code>myVar</code> and then resolves <code>myVar</code> to <code>5</code> again and assigns it to <code>myNum</code>.",
|
"This assigns <code>5</code> to <code>myVar</code> and then resolves <code>myVar</code> to <code>5</code> again and assigns it to <code>myNum</code>.",
|
||||||
"<hr>",
|
"<hr>",
|
||||||
"Assign the value <code>7</code> to variable <code>a</code>.",
|
"Assign the value <code>7</code> to variable <code>a</code>.",
|
||||||
"Assign the contents of <code>a</code> to variable <code>b</code>."
|
"Assign the contents of <code>a</code> to variable <code>b</code>."
|
||||||
|
Reference in New Issue
Block a user