|
@@ -2082,7 +2082,7 @@ let generate com =
|
|
newline ctx;
|
|
newline ctx;
|
|
end;
|
|
end;
|
|
if has_feature ctx "use.$arrayPush" then begin
|
|
if has_feature ctx "use.$arrayPush" then begin
|
|
- print ctx "function $arrayPush(x) { this.push(x); }";
|
|
|
|
|
|
+ print ctx "function $arrayPush(x) { return this.push(x); }";
|
|
newline ctx
|
|
newline ctx
|
|
end;
|
|
end;
|
|
if has_feature ctx "$global.$haxeUID" then begin
|
|
if has_feature ctx "$global.$haxeUID" then begin
|