Skip to content

Commit ac703f6

Browse files
committed
Fix #5428: Remove non-ASCII characters from JsBuiltIn.js and generated .bc.*.h
1 parent 288d7fe commit ac703f6

File tree

5 files changed

+1251
-1495
lines changed

5 files changed

+1251
-1495
lines changed

lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
So we refactored to use integers instead. */
158158
if (n === 0) { // Corresponds to "If n is -0, let k be +0" in the spec
159159
k = 0;
160-
} else if (n > 0) { // Corresponds to "If n 0, then [...] let k be n."
160+
} else if (n > 0) { // Corresponds to "If n >= 0, then [...] let k be n."
161161
k = n;
162162
} else { // Corresponds to "Else n < 0"
163163
k = len + n;

0 commit comments

Comments
 (0)