Update TypedArray properties to conform with newest standard (#4194)

name and length properties has been updated.
Enabling BigInt support in TypedArray.prototype.sort when no
comparefn function is provided.

JerryScript-DCO-1.0-Signed-off-by: Rafal Walczyna r.walczyna@samsung.com
This commit is contained in:
Rafal Walczyna
2020-09-14 17:32:26 +02:00
committed by GitHub
parent f8983cd2b5
commit 7345c83af7
5 changed files with 14 additions and 20 deletions
+2 -1
View File
@@ -25,9 +25,10 @@
assert(a[2] === 32.5);
})();
/* ES11 22.2.1.1 - length is equal to 0 */
(function tc_22_02_02__002() {
var a = Object.getPrototypeOf(Int8Array);
assert(a.length === 3);
assert(a.length === 0);
})();
(function tc_22_02_02__003() {