Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #28868 from xymostech/fix-28803

fix #28803; fix #28797
  • Loading branch information...
commit 10585c420ca431cb2d32d5281b3611cd9b7708d8 2 parents 8f92106 + d3a8290
@beneater beneater authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 exercises/line_graph_intuition.html
View
7 exercises/line_graph_intuition.html
@@ -461,11 +461,14 @@
[GRAPH.MN / GRAPH.MD, GRAPH.BN / GRAPH.BD]
</div>
<div class="validator-function">
+ if ((abs(guess[0] - M) &lt; 0.001) &amp;&amp;
+ (abs(guess[1] - B) &lt; 0.001)) {
+ return true;
+ }
if (guess[0] === 1 &amp;&amp; guess[1] === 1) {
return "";
}
- return ((abs(guess[0] - M) &lt; 0.001) &amp;&amp;
- (abs(guess[1] - B) &lt; 0.001));
+ return false;
</div>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.