Update TypedArray internals methods (#4653)

releated test262 test-cases has been removed from the skip list.

JerryScript-DCO-1.0-Signed-off-by: bence gabor kis kisbg@inf.u-szeged.hu
This commit is contained in:
kisbg
2021-04-27 09:45:26 +02:00
committed by GitHub
parent 823a8b128d
commit a58884c169
9 changed files with 294 additions and 282 deletions
+7 -1
View File
@@ -28,7 +28,13 @@ var typedarrays = [
for (let ta of typedarrays) {
for (let prop_name of [2, 5.1]) {
let set_value = 4.2;
var set_value = 4.2;
if (ta.constructor === BigInt64Array || ta.constructor === BigUint64Array)
{
set_value = 4n;
}
(function () {
"use strict";
let set_result = ta[prop_name] = set_value;