porffor 0.55.10 → 0.55.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,6 +70,8 @@ export const __Array_from = (arg: any, mapFn: any): any[] => {
|
|
70
70
|
|
71
71
|
const lengthKey: bytestring = 'length';
|
72
72
|
len = ecma262.ToIntegerOrInfinity(obj[lengthKey]);
|
73
|
+
if (len > 4294967295) throw new RangeError('Invalid array length');
|
74
|
+
if (len < 0) len = 0;
|
73
75
|
|
74
76
|
for (let i: i32 = 0; i < len; i++) {
|
75
77
|
out[i] = obj[i];
|
@@ -51,7 +51,7 @@ export const __Number_prototype_toString = (_this: number, radix: number|any) =>
|
|
51
51
|
return '0';
|
52
52
|
}
|
53
53
|
|
54
|
-
let out: bytestring = Porffor.
|
54
|
+
let out: bytestring = Porffor.allocateBytes(512);
|
55
55
|
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
56
56
|
|
57
57
|
// if negative value
|
@@ -275,7 +275,7 @@ export const __Number_prototype_toFixed = (_this: number, fractionDigits: number
|
|
275
275
|
return '-Infinity';
|
276
276
|
}
|
277
277
|
|
278
|
-
let out: bytestring = Porffor.
|
278
|
+
let out: bytestring = Porffor.allocateBytes(512);
|
279
279
|
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
280
280
|
|
281
281
|
// if negative value
|
@@ -369,7 +369,7 @@ export const __Number_prototype_toExponential = (_this: number, fractionDigits:
|
|
369
369
|
}
|
370
370
|
}
|
371
371
|
|
372
|
-
let out: bytestring = Porffor.
|
372
|
+
let out: bytestring = Porffor.allocateBytes(512);
|
373
373
|
let outPtr: i32 = Porffor.wasm`local.get ${out}`;
|
374
374
|
|
375
375
|
// if negative value
|
@@ -1162,6 +1162,8 @@ export const __String_prototype_repeat = (_this: string, cnt: any) => {
|
|
1162
1162
|
|
1163
1163
|
let out: string = Porffor.allocate();
|
1164
1164
|
const thisLen: i32 = _this.length * 2;
|
1165
|
+
if (thisLen == 0) return '';
|
1166
|
+
|
1165
1167
|
for (let i: i32 = 0; i < count; i++) {
|
1166
1168
|
Porffor.wasm`
|
1167
1169
|
;; dst = out + 4 + i * thisLen
|
@@ -1194,6 +1196,8 @@ export const __ByteString_prototype_repeat = (_this: string, cnt: any) => {
|
|
1194
1196
|
|
1195
1197
|
let out: bytestring = Porffor.allocate();
|
1196
1198
|
const thisLen: i32 = _this.length;
|
1199
|
+
if (thisLen == 0) return '';
|
1200
|
+
|
1197
1201
|
for (let i: i32 = 0; i < count; i++) {
|
1198
1202
|
Porffor.wasm`
|
1199
1203
|
;; dst = out + 4 + i * thisLen
|
@@ -338,7 +338,7 @@ params:[124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
|
338
338
|
locals:[],localNames:["x","x#type"],
|
339
339
|
}
|
340
340
|
this.__Array_from = {
|
341
|
-
wasm:(_,{t,makeString,builtin,internalThrow})=>[[32,0],[33,4],[32,1],[33,5],[2,127],...t([0,128],()=>[[32,5],[65,0],[70],[32,5],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,5],[65,7],[70],[4,64],[32,4],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,64],...internalThrow(_,'TypeError',`Argument cannot be nullish`),[26],[11],[16,builtin('__Porffor_allocate')],[183],[33,6],[68,0],[33,7],[32,1],[184],[33,8],[65,1],[33,9],[32,8],[68,80],[97],[32,8],[68,67],[97],[114],[32,8],[68,195],[97],[114],[32,8],[68,19],[97],[114],[32,8],[68,88],[102],[32,8],[68,96],[101],[113],[114],[4,64],[68,0],[33,10],[32,3],[184],[68,128],[98],[4,64],[32,3],[184],[68,6],[98],[4,64],...internalThrow(_,'TypeError',`Called Array.from with a non-function mapFn`),[26],[11],[32,0],[252,3],[33,11],[32,1],[33,14],[65,0],[33,13],[32,14],[65,208,0],[70],[32,14],[65,19],[70],[114],[32,14],[65,20],[70],[114],[32,14],[65,195,0],[70],[114],[32,14],[65,195,1],[70],[114],[32,14],[65,50],[70],[114],[32,14],[65,216,0],[78],[32,14],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,11],[40,1,0],[33,12],[3,64],[2,64],[32,14],[33,5],[2,124],...t([80,19],()=>[[32,5],[65,208,0],[70],[32,5],[65,19],[70],[114],[4,64],[32,12],[69],[13,2],[32,11],[43,0,4],[32,11],[45,0,12],[32,11],[65,9],[106],[33,11],[32,12],[65,1],[107],[33,12],[33,17],[12,1],[11]]),...t([67],()=>[[32,5],[65,195,0],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[47,1,4],[59,1,4],[32,11],[65,2],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,0],[33,17],[12,1],[11]]),...t([195],()=>[[32,5],[65,195,1],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[45,0,4],[58,0,4],[32,11],[65,1],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,1],[33,17],[12,1],[11]]),...t([88,90],()=>[[32,5],[65,216,0],[70],[32,5],[65,218,0],[70],[114],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[45,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([89],()=>[[32,5],[65,217,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[44,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([91],()=>[[32,5],[65,219,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([92],()=>[[32,5],[65,220,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([93],()=>[[32,5],[65,221,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([94],()=>[[32,5],[65,222,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([95],()=>[[32,5],[65,223,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[42,0,4],[187],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([96],()=>[[32,5],[65,224,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,8],[108],[106],[43,0,4],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([50],()=>[[32,5],[65,50],[70],[4,64],[12,2],[12,1],[11]]),...t([20],()=>[[32,5],[65,20],[70],[4,64],[32,13],[32,12],[40,1,0],[70],[13,2],[65,128,1],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,2],[54,0,0],[32,18],[32,18],[32,18],[32,18],[32,12],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,4],[32,19],[45,0,12],[58,0,12],[32,11],[40,1,4],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,13],[32,19],[45,0,12],[58,0,21],[32,13],[65,1],[106],[33,13],[32,18],[184],[65,208,0],[33,17],[12,1],[11]]),[0],[11],[33,15],[32,17],[33,16],[32,6],[33,21],[32,10],[33,22],[32,21],[252,3],[32,22],[252,3],[65,9],[108],[106],[34,20],[32,2],[33,23],[32,3],[33,5],[2,124],...t([6],()=>[[32,5],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,15],[32,16],[32,10],[65,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,23],[252,3],[17,12,0],[33,17],[12,1],[11]]),...internalThrow(_,'TypeError',`mapFn is not a function`),[68,0],[11],[57,0,4],[32,20],[32,17],[58,0,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[5],[32,0],[252,3],[33,11],[32,1],[33,14],[65,0],[33,13],[32,14],[65,208,0],[70],[32,14],[65,19],[70],[114],[32,14],[65,20],[70],[114],[32,14],[65,195,0],[70],[114],[32,14],[65,195,1],[70],[114],[32,14],[65,50],[70],[114],[32,14],[65,216,0],[78],[32,14],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,11],[40,1,0],[33,12],[3,64],[2,64],[32,14],[33,5],[2,124],...t([80,19],()=>[[32,5],[65,208,0],[70],[32,5],[65,19],[70],[114],[4,64],[32,12],[69],[13,2],[32,11],[43,0,4],[32,11],[45,0,12],[32,11],[65,9],[106],[33,11],[32,12],[65,1],[107],[33,12],[33,17],[12,1],[11]]),...t([67],()=>[[32,5],[65,195,0],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[47,1,4],[59,1,4],[32,11],[65,2],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,0],[33,17],[12,1],[11]]),...t([195],()=>[[32,5],[65,195,1],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[45,0,4],[58,0,4],[32,11],[65,1],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,1],[33,17],[12,1],[11]]),...t([88,90],()=>[[32,5],[65,216,0],[70],[32,5],[65,218,0],[70],[114],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[45,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([89],()=>[[32,5],[65,217,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[44,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([91],()=>[[32,5],[65,219,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([92],()=>[[32,5],[65,220,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([93],()=>[[32,5],[65,221,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([94],()=>[[32,5],[65,222,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([95],()=>[[32,5],[65,223,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[42,0,4],[187],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([96],()=>[[32,5],[65,224,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,8],[108],[106],[43,0,4],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([50],()=>[[32,5],[65,50],[70],[4,64],[12,2],[12,1],[11]]),...t([20],()=>[[32,5],[65,20],[70],[4,64],[32,13],[32,12],[40,1,0],[70],[13,2],[65,128,1],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,2],[54,0,0],[32,18],[32,18],[32,18],[32,18],[32,12],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,4],[32,19],[45,0,12],[58,0,12],[32,11],[40,1,4],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,13],[32,19],[45,0,12],[58,0,21],[32,13],[65,1],[106],[33,13],[32,18],[184],[65,208,0],[33,17],[12,1],[11]]),[0],[11],[33,15],[32,17],[33,16],[32,6],[33,24],[32,10],[32,10],[68,1],[160],[33,10],[33,25],[32,24],[252,3],[32,25],[252,3],[65,9],[108],[106],[34,20],[32,15],[57,0,4],[32,20],[32,16],[58,0,12],[12,1],[11],[11],[11],[32,10],[33,7],[11],[32,8],[68,7],[97],[4,64],[32,0],[33,26],...makeString(_,"length",1),[34,27],[33,29],[32,26],[34,28],[252,2],[65,7],[32,29],[65,195,1],[16,builtin('__ecma262_ToPropertyKey')],[33,30],[252,2],[32,30],[16,builtin('__Porffor_object_get')],[34,17],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,17],[33,7],[68,0],[33,10],[3,64],[32,10],[32,7],[99],[4,64],[32,6],[33,31],[32,10],[33,32],[32,31],[252,3],[32,32],[252,3],[65,9],[108],[106],[34,20],[32,10],[33,34],[32,26],[34,33],[252,2],[65,7],[32,34],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,30],[252,2],[32,30],[16,builtin('__Porffor_object_get')],[33,17],[57,0,4],[32,20],[32,17],[58,0,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,6],[252,3],[32,7],[252,3],[54,1,0],[32,6],[65,208,0],[15]],
|
341
|
+
wasm:(_,{t,makeString,builtin,internalThrow})=>[[32,0],[33,4],[32,1],[33,5],[2,127],...t([0,128],()=>[[32,5],[65,0],[70],[32,5],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,5],[65,7],[70],[4,64],[32,4],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,64],...internalThrow(_,'TypeError',`Argument cannot be nullish`),[26],[11],[16,builtin('__Porffor_allocate')],[183],[33,6],[68,0],[33,7],[32,1],[184],[33,8],[65,1],[33,9],[32,8],[68,80],[97],[32,8],[68,67],[97],[114],[32,8],[68,195],[97],[114],[32,8],[68,19],[97],[114],[32,8],[68,88],[102],[32,8],[68,96],[101],[113],[114],[4,64],[68,0],[33,10],[32,3],[184],[68,128],[98],[4,64],[32,3],[184],[68,6],[98],[4,64],...internalThrow(_,'TypeError',`Called Array.from with a non-function mapFn`),[26],[11],[32,0],[252,3],[33,11],[32,1],[33,14],[65,0],[33,13],[32,14],[65,208,0],[70],[32,14],[65,19],[70],[114],[32,14],[65,20],[70],[114],[32,14],[65,195,0],[70],[114],[32,14],[65,195,1],[70],[114],[32,14],[65,50],[70],[114],[32,14],[65,216,0],[78],[32,14],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,11],[40,1,0],[33,12],[3,64],[2,64],[32,14],[33,5],[2,124],...t([80,19],()=>[[32,5],[65,208,0],[70],[32,5],[65,19],[70],[114],[4,64],[32,12],[69],[13,2],[32,11],[43,0,4],[32,11],[45,0,12],[32,11],[65,9],[106],[33,11],[32,12],[65,1],[107],[33,12],[33,17],[12,1],[11]]),...t([67],()=>[[32,5],[65,195,0],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[47,1,4],[59,1,4],[32,11],[65,2],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,0],[33,17],[12,1],[11]]),...t([195],()=>[[32,5],[65,195,1],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[45,0,4],[58,0,4],[32,11],[65,1],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,1],[33,17],[12,1],[11]]),...t([88,90],()=>[[32,5],[65,216,0],[70],[32,5],[65,218,0],[70],[114],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[45,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([89],()=>[[32,5],[65,217,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[44,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([91],()=>[[32,5],[65,219,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([92],()=>[[32,5],[65,220,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([93],()=>[[32,5],[65,221,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([94],()=>[[32,5],[65,222,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([95],()=>[[32,5],[65,223,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[42,0,4],[187],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([96],()=>[[32,5],[65,224,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,8],[108],[106],[43,0,4],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([50],()=>[[32,5],[65,50],[70],[4,64],[12,2],[12,1],[11]]),...t([20],()=>[[32,5],[65,20],[70],[4,64],[32,13],[32,12],[40,1,0],[70],[13,2],[65,128,1],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,2],[54,0,0],[32,18],[32,18],[32,18],[32,18],[32,12],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,4],[32,19],[45,0,12],[58,0,12],[32,11],[40,1,4],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,13],[32,19],[45,0,12],[58,0,21],[32,13],[65,1],[106],[33,13],[32,18],[184],[65,208,0],[33,17],[12,1],[11]]),[0],[11],[33,15],[32,17],[33,16],[32,6],[33,21],[32,10],[33,22],[32,21],[252,3],[32,22],[252,3],[65,9],[108],[106],[34,20],[32,2],[33,23],[32,3],[33,5],[2,124],...t([6],()=>[[32,5],[65,6],[70],[4,64],[68,0],[65,128,1],[68,0],[65,128,1],[32,15],[32,16],[32,10],[65,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[68,0],[65,128,1],[32,23],[252,3],[17,12,0],[33,17],[12,1],[11]]),...internalThrow(_,'TypeError',`mapFn is not a function`),[68,0],[11],[57,0,4],[32,20],[32,17],[58,0,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[5],[32,0],[252,3],[33,11],[32,1],[33,14],[65,0],[33,13],[32,14],[65,208,0],[70],[32,14],[65,19],[70],[114],[32,14],[65,20],[70],[114],[32,14],[65,195,0],[70],[114],[32,14],[65,195,1],[70],[114],[32,14],[65,50],[70],[114],[32,14],[65,216,0],[78],[32,14],[65,224,0],[76],[113],[114],[69],[4,64],...internalThrow(_,'TypeError',`Tried for..of on non-iterable type`),[11],[32,11],[40,1,0],[33,12],[3,64],[2,64],[32,14],[33,5],[2,124],...t([80,19],()=>[[32,5],[65,208,0],[70],[32,5],[65,19],[70],[114],[4,64],[32,12],[69],[13,2],[32,11],[43,0,4],[32,11],[45,0,12],[32,11],[65,9],[106],[33,11],[32,12],[65,1],[107],[33,12],[33,17],[12,1],[11]]),...t([67],()=>[[32,5],[65,195,0],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[47,1,4],[59,1,4],[32,11],[65,2],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,0],[33,17],[12,1],[11]]),...t([195],()=>[[32,5],[65,195,1],[70],[4,64],[32,12],[69],[13,2],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,1],[54,0,0],[32,18],[32,11],[45,0,4],[58,0,4],[32,11],[65,1],[106],[33,11],[32,12],[65,1],[107],[33,12],[32,18],[184],[65,195,1],[33,17],[12,1],[11]]),...t([88,90],()=>[[32,5],[65,216,0],[70],[32,5],[65,218,0],[70],[114],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[45,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([89],()=>[[32,5],[65,217,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[106],[44,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([91],()=>[[32,5],[65,219,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([92],()=>[[32,5],[65,220,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,2],[108],[106],[47,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([93],()=>[[32,5],[65,221,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[184],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([94],()=>[[32,5],[65,222,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[40,0,4],[183],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([95],()=>[[32,5],[65,223,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,4],[108],[106],[42,0,4],[187],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([96],()=>[[32,5],[65,224,0],[70],[4,64],[32,13],[32,12],[70],[13,2],[32,11],[40,0,4],[32,13],[65,8],[108],[106],[43,0,4],[32,13],[65,1],[106],[33,13],[65,1],[33,17],[12,1],[11]]),...t([50],()=>[[32,5],[65,50],[70],[4,64],[12,2],[12,1],[11]]),...t([20],()=>[[32,5],[65,20],[70],[4,64],[32,13],[32,12],[40,1,0],[70],[13,2],[65,128,1],[16,builtin('__Porffor_allocateBytes')],[34,18],[65,2],[54,0,0],[32,18],[32,18],[32,18],[32,18],[32,12],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,4],[32,19],[45,0,12],[58,0,12],[32,11],[40,1,4],[32,13],[65,9],[108],[106],[34,19],[43,0,4],[57,0,13],[32,19],[45,0,12],[58,0,21],[32,13],[65,1],[106],[33,13],[32,18],[184],[65,208,0],[33,17],[12,1],[11]]),[0],[11],[33,15],[32,17],[33,16],[32,6],[33,24],[32,10],[32,10],[68,1],[160],[33,10],[33,25],[32,24],[252,3],[32,25],[252,3],[65,9],[108],[106],[34,20],[32,15],[57,0,4],[32,20],[32,16],[58,0,12],[12,1],[11],[11],[11],[32,10],[33,7],[11],[32,8],[68,7],[97],[4,64],[32,0],[33,26],...makeString(_,"length",1),[34,27],[33,29],[32,26],[34,28],[252,2],[65,7],[32,29],[65,195,1],[16,builtin('__ecma262_ToPropertyKey')],[33,30],[252,2],[32,30],[16,builtin('__Porffor_object_get')],[34,17],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,17],[34,7],[68,4294967295],[100],[4,64],...internalThrow(_,'RangeError',`Invalid array length`),[26],[11],[32,7],[68,0],[99],[4,64],[68,0],[33,7],[11],[68,0],[33,10],[3,64],[32,10],[32,7],[99],[4,64],[32,6],[33,31],[32,10],[33,32],[32,31],[252,3],[32,32],[252,3],[65,9],[108],[106],[34,20],[32,10],[33,34],[32,26],[34,33],[252,2],[65,7],[32,34],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,30],[252,2],[32,30],[16,builtin('__Porffor_object_get')],[33,17],[57,0,4],[32,20],[32,17],[58,0,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,6],[252,3],[32,7],[252,3],[54,1,0],[32,6],[65,208,0],[15]],
|
342
342
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
343
343
|
locals:[124,127,124,124,124,127,124,127,127,127,127,124,127,127,127,127,127,124,124,124,124,124,124,124,124,124,127,124,124,124,124],localNames:["arg","arg#type","mapFn","mapFn#type","#logicinner_tmp","#typeswitch_tmp1","out","len","type","type#type","i","#forof_base_pointer0","#forof_length0","#forof_counter0","#forof_itertype0","x","x#type","#last_type","#forof_allocd","#forof_mapptr","#member_setter_ptr_tmp","#member_obj_9","#member_prop_9","#indirect_10_callee","#member_obj_11","#member_prop_11","obj","lengthKey","#member_obj_12","#member_prop_12","#swap","#member_obj_13","#member_prop_13","#member_obj_14","#member_prop_14"],
|
344
344
|
usedTypes:[67,195,80,7],
|
@@ -1941,14 +1941,14 @@ usedTypes:[38],
|
|
1941
1941
|
constr:1,
|
1942
1942
|
}
|
1943
1943
|
this.__Number_prototype_toString = {
|
1944
|
-
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toString expects 'this' to be a Number`),[11],[32,3],[184],[68,1],[98],[4,64],[68,10],[33,2],[65,1],[33,3],[11],[32,2],[68,0],[16,builtin('f64_|')],[33,2],[65,1],[33,3],[32,2],[68,2],[99],[34,4],[69],[4,127],[32,2],[68,36],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toString() radix argument must be between 2 and 36`),[26],[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[32,0],[68,0],[97],[4,64],...makeString(_,"0",1),[65,195,1],[15],[26],[11],[16,builtin('
|
1944
|
+
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toString expects 'this' to be a Number`),[11],[32,3],[184],[68,1],[98],[4,64],[68,10],[33,2],[65,1],[33,3],[11],[32,2],[68,0],[16,builtin('f64_|')],[33,2],[65,1],[33,3],[32,2],[68,2],[99],[34,4],[69],[4,127],[32,2],[68,36],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toString() radix argument must be between 2 and 36`),[26],[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[32,0],[68,0],[97],[4,64],...makeString(_,"0",1),[65,195,1],[15],[26],[11],[65,128,4],[16,builtin('__Porffor_allocateBytes')],[183],[34,6],[33,7],[32,0],[68,0],[99],[4,64],[32,0],[154],[33,0],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[11],[32,0],[16,builtin('__Math_trunc')],[33,8],[68,0],[33,9],[68,0],[33,10],[32,2],[68,10],[97],[4,64],[32,8],[68,1e+21],[102],[4,64],[68,1],[33,11],[68,-1],[33,12],[3,64],[32,8],[68,0],[100],[4,64],[32,8],[32,2],[16,builtin('f64_%')],[33,13],[32,8],[32,2],[163],[16,builtin('__Math_trunc')],[33,8],[32,12],[68,1],[160],[33,12],[32,11],[252,3],[4,64],[32,13],[68,0],[97],[4,64],[12,3],[26],[11],[68,0],[33,11],[11],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[32,7],[68,1],[160],[33,16],[3,64],[32,7],[32,15],[99],[4,64],[32,7],[32,16],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,15],[68,1],[160],[33,15],[11],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,43],[58,0,4],[68,0],[33,10],[3,64],[32,12],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,12],[32,2],[16,builtin('f64_%')],[252,2],[58,0,4],[32,12],[32,2],[163],[16,builtin('__Math_trunc')],[33,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15],[26],[11],[32,0],[68,0.000001],[99],[4,64],[32,0],[33,17],[68,1],[33,12],[3,64],[65,1],[4,64],[32,17],[32,2],[162],[34,17],[16,builtin('__Math_trunc')],[34,18],[68,0],[100],[4,64],[32,17],[32,18],[161],[68,1e-10],[99],[4,64],[12,2],[26],[11],[5],[32,12],[68,1],[160],[33,12],[11],[12,1],[11],[11],[3,64],[32,17],[68,0],[100],[4,64],[32,17],[32,2],[16,builtin('f64_%')],[33,13],[32,17],[32,2],[163],[16,builtin('__Math_trunc')],[33,17],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[32,7],[68,1],[160],[33,16],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[33,13],[32,7],[32,16],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,15],[68,1],[160],[33,15],[11],[32,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[68,0],[33,10],[3,64],[32,12],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,12],[32,2],[16,builtin('f64_%')],[252,2],[58,0,4],[32,12],[32,2],[163],[16,builtin('__Math_trunc')],[33,12],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15],[26],[11],[11],[32,8],[68,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,1],[33,10],[5],[3,64],[32,8],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,8],[32,2],[16,builtin('f64_%')],[252,2],[58,0,4],[32,8],[32,2],[163],[16,builtin('__Math_trunc')],[33,8],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16,builtin('__Math_trunc')],[161],[34,17],[68,0],[100],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,17],[68,1],[160],[33,17],[68,16],[32,10],[161],[33,19],[68,0],[33,20],[3,64],[32,20],[32,19],[99],[4,64],[32,17],[32,2],[162],[33,17],[32,20],[68,1],[160],[33,20],[12,1],[11],[11],[32,17],[16,builtin('__Math_round')],[33,17],[68,0],[33,10],[68,1],[33,11],[3,64],[32,17],[68,1],[100],[4,64],[32,17],[32,2],[16,builtin('f64_%')],[33,13],[32,17],[32,2],[163],[16,builtin('__Math_trunc')],[33,17],[32,11],[252,3],[4,64],[32,13],[68,0],[97],[4,64],[12,3],[26],[11],[68,0],[33,11],[11],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,14],[32,7],[32,10],[160],[33,15],[3,64],[32,7],[32,15],[99],[4,64],[32,14],[68,1],[161],[34,14],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15]],
|
1945
1945
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
1946
1946
|
locals:[127,127,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124],localNames:["_this","_this#type","radix","radix#type","logictmpi","#last_type","out","outPtr","i","digits","l","trailing","e","digit","digitsPtr","endPtr","dotPlace","decimal","intPart","decimalDigits","j"],
|
1947
1947
|
usedTypes:[195],
|
1948
1948
|
usesTag:1,
|
1949
1949
|
}
|
1950
1950
|
this.__Number_prototype_toFixed = {
|
1951
|
-
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toFixed expects 'this' to be a Number`),[11],[32,2],[68,0],[16,builtin('f64_|')],[34,2],[68,0],[99],[34,4],[69],[4,127],[32,2],[68,100],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toFixed() fractionDigits argument must be between 0 and 100`),[26],[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[16,builtin('
|
1951
|
+
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toFixed expects 'this' to be a Number`),[11],[32,2],[68,0],[16,builtin('f64_|')],[34,2],[68,0],[99],[34,4],[69],[4,127],[32,2],[68,100],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toFixed() fractionDigits argument must be between 0 and 100`),[26],[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[65,128,4],[16,builtin('__Porffor_allocateBytes')],[183],[34,6],[33,7],[32,0],[68,0],[99],[4,64],[32,0],[154],[33,0],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[11],[32,0],[16,builtin('__Math_trunc')],[33,8],[68,0],[33,9],[68,0],[33,10],[32,8],[68,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,1],[33,10],[5],[3,64],[32,8],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,8],[68,10],[16,builtin('f64_%')],[252,2],[58,0,4],[32,8],[68,10],[163],[16,builtin('__Math_trunc')],[33,8],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,11],[32,7],[32,10],[160],[33,12],[3,64],[32,7],[32,12],[99],[4,64],[32,11],[68,1],[161],[34,11],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[32,0],[32,0],[16,builtin('__Math_trunc')],[161],[33,14],[32,2],[68,0],[100],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,14],[68,1],[160],[33,14],[68,0],[33,15],[3,64],[32,15],[32,2],[99],[4,64],[32,14],[68,10],[162],[33,14],[32,15],[68,1],[160],[33,15],[12,1],[11],[11],[32,14],[16,builtin('__Math_round')],[33,14],[68,0],[33,10],[3,64],[32,14],[68,1],[100],[4,64],[32,14],[68,10],[16,builtin('f64_%')],[33,13],[32,14],[68,10],[163],[16,builtin('__Math_trunc')],[33,14],[32,9],[32,10],[160],[252,2],[32,13],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,11],[32,7],[32,10],[160],[33,12],[3,64],[32,7],[32,12],[99],[4,64],[32,11],[68,1],[161],[34,11],[252,2],[45,0,4],[183],[34,13],[68,10],[99],[4,64],[32,13],[68,48],[160],[33,13],[5],[32,13],[68,87],[160],[33,13],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,13],[252,2],[58,0,4],[12,1],[11],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15]],
|
1952
1952
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
1953
1953
|
locals:[127,127,124,124,124,124,124,124,124,124,124,124],localNames:["_this","_this#type","fractionDigits","fractionDigits#type","logictmpi","#last_type","out","outPtr","i","digits","l","digitsPtr","endPtr","digit","decimal","j"],
|
1954
1954
|
usedTypes:[195],
|
@@ -1961,7 +1961,7 @@ locals:[127],localNames:["_this","_this#type","#last_type"],
|
|
1961
1961
|
usesTag:1,
|
1962
1962
|
}
|
1963
1963
|
this.__Number_prototype_toExponential = {
|
1964
|
-
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toExponential expects 'this' to be a Number`),[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[32,3],[184],[68,1],[98],[4,64],[68,0],[33,2],[65,128,1],[33,3],[5],[32,2],[68,0],[16,builtin('f64_|')],[33,2],[65,1],[33,3],[32,2],[68,0],[99],[34,4],[69],[4,127],[32,2],[68,100],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toExponential() fractionDigits argument must be between 0 and 100`),[26],[11],[11],[16,builtin('
|
1964
|
+
wasm:(_,{makeString,builtin,internalThrow})=>[[32,1],[65,1],[71],[32,1],[65,38],[71],[113],[4,64],...internalThrow(_,'TypeError',`Number.prototype.toExponential expects 'this' to be a Number`),[11],[32,0],[16,builtin('__Number_isFinite')],[68,0],[97],[4,64],[32,0],[16,builtin('__Number_isNaN')],[252,3],[4,64],...makeString(_,"NaN",1),[65,195,1],[15],[26],[11],[32,0],[68,"Infinity"],[97],[4,64],...makeString(_,"Infinity",1),[65,195,1],[15],[26],[11],...makeString(_,"-Infinity",1),[65,195,1],[15],[26],[11],[32,3],[184],[68,1],[98],[4,64],[68,0],[33,2],[65,128,1],[33,3],[5],[32,2],[68,0],[16,builtin('f64_|')],[33,2],[65,1],[33,3],[32,2],[68,0],[99],[34,4],[69],[4,127],[32,2],[68,100],[100],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],...internalThrow(_,'RangeError',`toExponential() fractionDigits argument must be between 0 and 100`),[26],[11],[11],[65,128,4],[16,builtin('__Porffor_allocateBytes')],[183],[34,6],[33,7],[32,0],[68,0],[99],[4,64],[32,0],[154],[33,0],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[11],[32,0],[33,8],[68,0],[33,9],[68,0],[33,10],[68,0],[33,11],[32,0],[68,0],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,48],[58,0,4],[32,2],[68,0],[100],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[68,0],[33,14],[3,64],[32,14],[32,2],[99],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,48],[58,0,4],[32,14],[68,1],[160],[33,14],[12,1],[11],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,43],[58,0,4],[5],[32,0],[68,1],[99],[4,64],[32,3],[184],[68,1],[98],[4,64],[68,1],[33,11],[3,64],[65,1],[4,64],[32,8],[68,10],[162],[34,8],[16,builtin('__Math_trunc')],[34,15],[68,0],[100],[4,64],[32,8],[32,15],[161],[68,1e-10],[99],[4,64],[12,2],[26],[11],[5],[32,11],[68,1],[160],[33,11],[11],[12,1],[11],[11],[5],[68,1],[33,11],[68,0],[33,14],[3,64],[32,14],[32,2],[101],[4,64],[32,8],[68,10],[162],[34,8],[16,builtin('__Math_trunc')],[34,15],[68,0],[97],[4,64],[32,11],[68,1],[160],[33,11],[5],[32,14],[68,1],[160],[33,14],[11],[12,1],[11],[11],[11],[3,64],[32,8],[68,0],[100],[4,64],[32,8],[68,10],[16,builtin('f64_%')],[33,16],[32,8],[68,10],[163],[16,builtin('__Math_trunc')],[33,8],[32,9],[32,10],[160],[252,2],[32,16],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,12],[32,7],[32,10],[160],[33,13],[32,7],[68,1],[160],[33,17],[3,64],[32,7],[32,13],[99],[4,64],[32,12],[68,1],[161],[34,12],[252,2],[45,0,4],[183],[33,16],[32,7],[32,17],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,13],[68,1],[160],[33,13],[11],[32,16],[68,10],[99],[4,64],[32,16],[68,48],[160],[33,16],[5],[32,16],[68,87],[160],[33,16],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,45],[58,0,4],[5],[68,-1],[33,11],[3,64],[32,8],[68,1],[102],[4,64],[32,8],[68,10],[163],[33,8],[32,11],[68,1],[160],[33,11],[12,1],[11],[11],[32,3],[184],[68,1],[98],[4,64],[3,64],[65,1],[4,64],[32,8],[68,10],[162],[34,8],[16,builtin('__Math_trunc')],[34,15],[68,0],[100],[4,64],[32,8],[32,15],[161],[68,1e-10],[99],[4,64],[12,2],[26],[11],[5],[32,11],[68,1],[160],[33,11],[11],[12,1],[11],[11],[5],[68,0],[33,14],[3,64],[32,14],[32,2],[101],[4,64],[32,8],[68,10],[162],[33,8],[32,14],[68,1],[160],[33,14],[12,1],[11],[11],[11],[32,8],[16,builtin('__Math_round')],[33,8],[3,64],[32,8],[68,0],[100],[4,64],[32,8],[68,10],[16,builtin('f64_%')],[33,16],[32,8],[68,10],[163],[16,builtin('__Math_trunc')],[33,8],[32,9],[32,10],[160],[252,2],[32,16],[252,2],[58,0,4],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[32,9],[32,10],[160],[33,12],[32,7],[32,10],[160],[33,13],[32,7],[68,1],[160],[33,17],[3,64],[32,7],[32,13],[99],[4,64],[32,7],[32,17],[97],[4,64],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,46],[58,0,4],[32,13],[68,1],[160],[33,13],[11],[32,12],[68,1],[161],[34,12],[252,2],[45,0,4],[183],[34,16],[68,10],[99],[4,64],[32,16],[68,48],[160],[33,16],[5],[32,16],[68,87],[160],[33,16],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,229,0],[58,0,4],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[65,43],[58,0,4],[11],[11],[32,11],[68,0],[97],[4,64],[32,9],[252,2],[65,0],[58,0,4],[68,1],[33,10],[5],[68,0],[33,10],[3,64],[32,11],[68,0],[100],[4,64],[32,9],[32,10],[160],[252,2],[32,11],[68,10],[16,builtin('f64_%')],[252,2],[58,0,4],[32,11],[68,10],[163],[16,builtin('__Math_trunc')],[33,11],[32,10],[68,1],[160],[33,10],[12,1],[11],[11],[11],[32,9],[32,10],[160],[33,12],[32,7],[32,10],[160],[33,13],[3,64],[32,7],[32,13],[99],[4,64],[32,12],[68,1],[161],[34,12],[252,2],[45,0,4],[183],[34,16],[68,10],[99],[4,64],[32,16],[68,48],[160],[33,16],[5],[32,16],[68,87],[160],[33,16],[11],[32,7],[32,7],[68,1],[160],[33,7],[252,2],[32,16],[252,2],[58,0,4],[12,1],[11],[11],[32,6],[252,3],[32,7],[32,6],[161],[252,3],[54,1,0],[32,6],[65,195,1],[15]],
|
1965
1965
|
params:[124,127,124,127],typedParams:1,returns:[124,127],typedReturns:1,
|
1966
1966
|
locals:[127,127,124,124,124,124,124,124,124,124,124,124,124,124],localNames:["_this","_this#type","fractionDigits","fractionDigits#type","logictmpi","#last_type","out","outPtr","i","digits","l","e","digitsPtr","endPtr","j","intPart","digit","dotPlace"],
|
1967
1967
|
usedTypes:[195],
|
@@ -2948,14 +2948,14 @@ locals:[127,127,127,127],localNames:["_this","_this#type","vals","vals#type","ou
|
|
2948
2948
|
hasRestArgument:1,
|
2949
2949
|
}
|
2950
2950
|
this.__String_prototype_repeat = {
|
2951
|
-
wasm:(_,{builtin,internalThrow})=>[[32,2],[183],[32,3],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,5],[252,2],[34,4],[65,0],[72],[4,64],...internalThrow(_,'RangeError',`Invalid count value`),[26],[11],[16,builtin('__Porffor_allocate')],[33,6],[32,0],[40,1,0],[65,2],[108],[
|
2951
|
+
wasm:(_,{builtin,internalThrow})=>[[32,2],[183],[32,3],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,5],[252,2],[34,4],[65,0],[72],[4,64],...internalThrow(_,'RangeError',`Invalid count value`),[26],[11],[16,builtin('__Porffor_allocate')],[33,6],[32,0],[40,1,0],[65,2],[108],[34,7],[69],[4,64],[65,0],[65,195,1],[15],[26],[11],[65,0],[33,8],[3,64],[32,8],[32,4],[72],[4,64],[32,6],[65,4],[106],[32,8],[32,7],[108],[106],[32,0],[65,4],[106],[32,7],[252,10,0,0],[32,8],[65,1],[106],[33,8],[12,1],[11],[11],[32,6],[32,7],[32,4],[108],[54,0,0],[32,6],[65,195,0],[15]],
|
2952
2952
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
2953
2953
|
locals:[127,127,127,127,127],localNames:["_this","_this#type","cnt","cnt#type","count","#last_type","out","thisLen","i"],
|
2954
|
-
usedTypes:[67],
|
2954
|
+
usedTypes:[195,67],
|
2955
2955
|
usesTag:1,
|
2956
2956
|
}
|
2957
2957
|
this.__ByteString_prototype_repeat = {
|
2958
|
-
wasm:(_,{builtin,internalThrow})=>[[32,2],[183],[32,3],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,5],[252,2],[34,4],[65,0],[72],[4,64],...internalThrow(_,'RangeError',`Invalid count value`),[26],[11],[16,builtin('__Porffor_allocate')],[33,6],[32,0],[40,1,0],[
|
2958
|
+
wasm:(_,{builtin,internalThrow})=>[[32,2],[183],[32,3],[16,builtin('__ecma262_ToIntegerOrInfinity')],[33,5],[252,2],[34,4],[65,0],[72],[4,64],...internalThrow(_,'RangeError',`Invalid count value`),[26],[11],[16,builtin('__Porffor_allocate')],[33,6],[32,0],[40,1,0],[34,7],[69],[4,64],[65,0],[65,195,1],[15],[26],[11],[65,0],[33,8],[3,64],[32,8],[32,4],[72],[4,64],[32,6],[65,4],[106],[32,8],[32,7],[108],[106],[32,0],[65,4],[106],[32,7],[252,10,0,0],[32,8],[65,1],[106],[33,8],[12,1],[11],[11],[32,6],[32,7],[32,4],[108],[54,0,0],[32,6],[65,195,1],[15]],
|
2959
2959
|
params:[127,127,127,127],typedParams:1,returns:[127,127],typedReturns:1,
|
2960
2960
|
locals:[127,127,127,127,127],localNames:["_this","_this#type","cnt","cnt#type","count","#last_type","out","thisLen","i"],
|
2961
2961
|
usedTypes:[195],
|
package/package.json
CHANGED
package/runner/index.js
CHANGED
package/r.js
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
// Copyright (c) 2012 Ecma International. All rights reserved.
|
2
|
-
// This code is governed by the BSD license found in the LICENSE file.
|
3
|
-
|
4
|
-
/*---
|
5
|
-
esid: sec-array.prototype.every
|
6
|
-
description: >
|
7
|
-
Array.prototype.every - value of 'length' is an Object which has
|
8
|
-
an own toString method
|
9
|
-
---*/
|
10
|
-
|
11
|
-
function callbackfn1(val, idx, obj) {
|
12
|
-
return val > 10;
|
13
|
-
}
|
14
|
-
|
15
|
-
function callbackfn2(val, idx, obj) {
|
16
|
-
return val > 11;
|
17
|
-
}
|
18
|
-
|
19
|
-
var toStringAccessed = false;
|
20
|
-
var obj = {
|
21
|
-
0: 12,
|
22
|
-
1: 11,
|
23
|
-
2: 9,
|
24
|
-
|
25
|
-
length: {
|
26
|
-
toString: function() {
|
27
|
-
toStringAccessed = true;
|
28
|
-
return '2';
|
29
|
-
}
|
30
|
-
}
|
31
|
-
};
|
32
|
-
Array.from(obj)
|