mirror of https://github.com/tc39/test262.git
*.prototype.toString(), a-z make radix loop condition inclusive of radix 36
This commit is contained in:
parent
d2f7d4285c
commit
1d142259bc
|
@ -14,7 +14,7 @@ info: |
|
|||
features: [BigInt]
|
||||
---*/
|
||||
|
||||
for (let radix = 11; radix < 36; radix++) {
|
||||
for (let radix = 11; radix <= 36; radix++) {
|
||||
for (let i = 10n; i < radix; i++) {
|
||||
assert.sameValue(i.toString(radix), String.fromCharCode(Number(i + 87n)));
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ info: |
|
|||
generalization of that specified in 6.1.6.1.20.
|
||||
---*/
|
||||
|
||||
for (let radix = 11; radix < 36; radix++) {
|
||||
for (let radix = 11; radix <= 36; radix++) {
|
||||
for (let i = 10; i < radix; i++) {
|
||||
assert.sameValue(i.toString(radix), String.fromCharCode(i + 87));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue