Skip to content

Commit 326847c

Browse files
committed
[1.10>master] [MERGE chakra-core#5452 @dilijev] Fix chakra-core#5428: Remove non-ASCII characters from JsBuiltIn.js and generated .bc.*.h
Merge pull request chakra-core#5452 from dilijev:fix-nonascii-jsbuiltins Fixes chakra-core#5428
2 parents 47da6eb + d439708 commit 326847c

5 files changed

Lines changed: 1251 additions & 1495 deletions

File tree

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)