Merge pull request #7985 from DusanSacha/fix/broken-link
Fixed Broken Link to Storing Values with the Equal Operatorpull/7988/head
commit
0919145437
|
@ -4953,7 +4953,7 @@
|
||||||
"description": [
|
"description": [
|
||||||
"Random numbers are useful for creating random behavior.",
|
"Random numbers are useful for creating random behavior.",
|
||||||
"JavaScript has a <code>Math.random()</code> function that generates a random decimal number between <code>0</code> (inclusive) and not quite up to <code>1</code> (exclusive). Thus <code>Math.random()</code> can return a <code>0</code> but never quite return a <code>1</code>",
|
"JavaScript has a <code>Math.random()</code> function that generates a random decimal number between <code>0</code> (inclusive) and not quite up to <code>1</code> (exclusive). Thus <code>Math.random()</code> can return a <code>0</code> but never quite return a <code>1</code>",
|
||||||
"<strong>Note</strong><br>Like <a href='waypoint-storing-values-with-the-equal-operator' target='_blank'>Storing Values with the Equal Operator</a>, all function calls will be resolved before the <code>return</code> executes, so we can simply <code>return</code> the value of the <code>Math.random()</code> function.",
|
"<strong>Note</strong><br>Like <a href='storing-values-with-the-assignment-operator' target='_blank'>Storing Values with the Equal Operator</a>, all function calls will be resolved before the <code>return</code> executes, so we can simply <code>return</code> the value of the <code>Math.random()</code> function.",
|
||||||
"<h4>Instructions</h4>",
|
"<h4>Instructions</h4>",
|
||||||
"Change <code>randomFraction</code> to return a random number instead of returning <code>0</code>."
|
"Change <code>randomFraction</code> to return a random number instead of returning <code>0</code>."
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue