Skip to content

Commit 7d09f0a

Browse files
committed
Typo in overview section of docs.
Fixes rescript-lang#210
1 parent bca9cfb commit 7d09f0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pages/docs/manual/latest/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Integer Addition | `23 + 1` | `23 + 1
220220
Float Addition | `23.0 +. 1.0` | `23.0 + 1.0`
221221
Integer Division/Multiplication | `2 / 23 * 1` | `2 / 23 * 1`
222222
Float Division/Multiplication | `2.0 /. 23.0 *. 1.0` | `2.0 / 23.0 * 1.0`
223-
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(3, 4)`
223+
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)`
224224
String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"`
225225
Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=`
226226
Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code>

pages/docs/manual/v8.0.0/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Integer Addition | `23 + 1` | `23 + 1
222222
Float Addition | `23.0 +. 1.0` | `23.0 + 1.0`
223223
Integer Division/Multiplication | `2 / 23 * 1` | `2 / 23 * 1`
224224
Float Division/Multiplication | `2.0 /. 23.0 *. 1.0` | `2.0 / 23.0 * 1.0`
225-
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(3, 4)`
225+
Float Exponentiation | `2.0 ** 3.0` | `Math.pow(2.0, 3.0)`
226226
String Concatenation | `"Hello " ++ "World"` | `"Hello " + "World"`
227227
Comparison | `>`, `<`, `>=`, `<=` | `>`, `<`, `>=`, `<=`
228228
Boolean operation | `!`, `&&`, <code>&#124;&#124;</code> | `!`, `&&`, <code>&#124;&#124;</code>

0 commit comments

Comments
 (0)