Skip to content

Commit d439708

Browse files
committed
[MERGE #5452 @dilijev] Fix #5428: Remove non-ASCII characters from JsBuiltIn.js and generated .bc.*.h
Merge pull request #5452 from dilijev:fix-nonascii-jsbuiltins Fixes #5428
2 parents 5d30c52 + ac703f6 commit d439708

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)