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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user