Update std.js

This commit is contained in:
Namhyeon Go 2022-01-19 17:29:52 +09:00 committed by GitHub
parent b188eb3a46
commit 69ed71377e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,8 +37,8 @@ if (!Enumerator.prototype.toArray) {
for (; !b.atEnd(); b.moveNext()) {
var c = b.item();
if (typeof c.value !== "unknown") {
x[c.name] = c.value;
} else {
x[c.name] = c.value;
} else {
var i = 0, d = [];
while (true) {
try {
@ -48,7 +48,7 @@ if (!Enumerator.prototype.toArray) {
break;
}
}
x[c.name] = d;
x[c.name] = d;
}
}
a.push(x);