Skip to content

Commit 80def93

Browse files
committed
Kludge around AsciiDoc strangeness
1 parent 3b1d160 commit 80def93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

06_object.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ constructor can be done with the `Object.defineProperty` function. To
11051105
compute the distance from (0, 0) to (x, y), you can use the
11061106
Pythagorean theorem, which says that the square of the distance we are
11071107
looking for is equal to the square of the x coordinate plus the square
1108-
of the y coordinate. Thus, (!html √(x^2^ + y^2^)!)(!tex pass:[$\sqrt{x^2 + y^2}$]!)
1108+
of the y coordinate. Thus, (!html √(x^2^ + y^2^pass:[)]!)(!tex pass:[$\sqrt{x^2 + y^2}$]!)
11091109
is the number you want, and `Math.sqrt` is the way you compute a square
11101110
root in JavaScript.
11111111

0 commit comments

Comments
 (0)