diff options
Diffstat (limited to 'website/json/ch15.json')
-rw-r--r-- | website/json/ch15.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/website/json/ch15.json b/website/json/ch15.json index f1d26f383..7c612e762 100644 --- a/website/json/ch15.json +++ b/website/json/ch15.json @@ -5850,7 +5850,7 @@ "path":"TestCases/ch15/15.12/15.12.3/15.12.3-11-25.js" }, { -"code":"Ly8vIENvcHlyaWdodCAoYykgMjAxMiBFY21hIEludGVybmF0aW9uYWwuICBBbGwgcmlnaHRzIHJlc2VydmVkLiANCi8qKg0KICogQHBhdGggY2gxNS8xNS4xMi8xNS4xMi4zLzE1LjEyLjMtMTEtMjYuanMNCiAqIEBkZXNjcmlwdGlvbiBKU09OLnN0cmluZ2lmeSAtIHRoZSBsYXN0IGVsZW1lbnQgb2YgdGhlIGNvbmNhdGVuYXRpb24gaXMgJ10nIChUaGUgYWJzdHJhY3Qgb3BlcmF0aW9uIEpBKHZhbHVlKSBzdGVwIDEwLmIuaWlpKQ0KICovDQoNCg0KZnVuY3Rpb24gdGVzdGNhc2UoKSB7DQogICAgICAgIHZhciBhcnJPYmogPSBbXTsNCiAgICAgICAgYXJyT2JqWzBdID0gImEiOw0KICAgICAgICBhcnJPYmpbMV0gPSAiYiI7DQogICAgICAgIGFyck9ialsyXSA9ICJjIjsNCg0KICAgICAgICB2YXIganNvblRleHQgPSBKU09OLnN0cmluZ2lmeShhcnJPYmosIHVuZGVmaW5lZCwgIiIpLnRvU3RyaW5nKCk7DQogICAgICAgIHJldHVybiBqc29uVGV4dC5zdWJzdHIoanNvblRleHQubGVuZ3RoIC0gMSwgMSkgPT09ICJdIjsNCiAgICB9DQpydW5UZXN0Q2FzZSh0ZXN0Y2FzZSk7DQo=", +"code":"Ly8vIENvcHlyaWdodCAoYykgMjAxMiBFY21hIEludGVybmF0aW9uYWwuICBBbGwgcmlnaHRzIHJlc2VydmVkLiANCi8qKg0KICogQHBhdGggY2gxNS8xNS4xMi8xNS4xMi4zLzE1LjEyLjMtMTEtMjYuanMNCiAqIEBkZXNjcmlwdGlvbiBKU09OLnN0cmluZ2lmeSAtIHRoZSBsYXN0IGVsZW1lbnQgb2YgdGhlIGNvbmNhdGVuYXRpb24gaXMgJ10nIChUaGUgYWJzdHJhY3Qgb3BlcmF0aW9uIEpBKHZhbHVlKSBzdGVwIDEwLmIuaWlpKQ0KICovDQoNCg0KZnVuY3Rpb24gdGVzdGNhc2UoKSB7DQogICAgICAgIHZhciBhcnJPYmogPSBbXTsNCiAgICAgICAgYXJyT2JqWzBdID0gImEiOw0KICAgICAgICBhcnJPYmpbMV0gPSAiYiI7DQogICAgICAgIGFyck9ialsyXSA9ICJjIjsNCg0KICAgICAgICB2YXIganNvblRleHQgPSBKU09OLnN0cmluZ2lmeShhcnJPYmosIHVuZGVmaW5lZCwgIiIpLnRvU3RyaW5nKCk7DQogICAgICAgIHJldHVybiBqc29uVGV4dC5jaGFyQXQoanNvblRleHQubGVuZ3RoIC0gMSkgPT09ICJdIjsNCiAgICB9DQpydW5UZXN0Q2FzZSh0ZXN0Y2FzZSk7DQo=", "commentary":"", "description":"JSON.stringify - the last element of the concatenation is ']' (The abstract operation JA(value) step 10.b.iii)", "path":"TestCases/ch15/15.12/15.12.3/15.12.3-11-26.js" @@ -6234,7 +6234,7 @@ "path":"TestCases/ch15/15.2/15.2.2/S15.2.2.1_A2_T4.js" }, { -"code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBXaGVuIHRoZSBPYmplY3QgY29uc3RydWN0b3IgaXMgY2FsbGVkIHdpdGggb25lIGFyZ3VtZW50IHZhbHVlIGFuZAogKiB0aGUgdmFsdWUgaXMgYSBuYXRpdmUgRUNNQVNjcmlwdCBvYmplY3QsIGRvIG5vdCBjcmVhdGUgYSBuZXcgb2JqZWN0IGJ1dCBzaW1wbHkgcmV0dXJuIHZhbHVlCiAqCiAqIEBwYX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KCnZhciBvYmogPSBuZXcgRGF0ZSgxOTc4LDMpOwoKdmFyIG5fb2JqID0gbmV3IE9iamVjdChvYmopOwoKLy9DSEVDSyMxCmlmIChuX29iaiAhPT0gb2JqKSB7CiAgJEVSUk9SKCcjMTogV2hlbiB0aGUgT2JqZWN0IGNvbnN0cnVjdG9yIGlzIGNhbGxlZCBhbmQgaWYgdGhlIHZhbHVlIGlzIGFuIE9iamVjdCBzaW1wbHkgdmFsdWUgcmV0dXJucy4nKTsKfQoKLy9DSEVDSyMyCmlmICgobl9vYmouZ2V0RnVsbFllYXIoKSAhPT0gMTk3OCl8fChuX29iai5nZXRNb250aCgpICE9PSAzKSkgewogICRFUlJPUignIzI6IFdoZW4gdGhlIE9iamVjdCBjb25zdHJ1Y3RvciBpcyBjYWxsZWQgYW5kIGlmIHRoZSB2YWx1ZSBpcyBhbiBPYmplY3Qgc2ltcGx5IHZhbHVlIHJldHVybnMuJyk7Cn0KCg==", "commentary":"When the Object constructor is called with one argument value and\nthe value is a native ECMAScript object, do not create a new object but simply return value", "description":"The value is a Date object", "path":"TestCases/ch15/15.2/15.2.2/S15.2.2.1_A2_T5.js" |