Browse Source

rtl: overload new()

mattias 7 years ago
parent
commit
78d46bc7ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/js.pas

+ 1 - 1
packages/rtl/js.pas

@@ -621,7 +621,7 @@ var
   // This can be used in catch blocks to access the JS throw value
   // This can be used in catch blocks to access the JS throw value
   JSExceptValue: JSValue; external name '$e';
   JSExceptValue: JSValue; external name '$e';
 
 
-Function new(aElements: TJSValueDynArray) : TJSObject;
+Function new(aElements: TJSValueDynArray) : TJSObject; overload;
 
 
 function decodeURIComponent(encodedURI : String) : String; external name 'decodeURIComponent';
 function decodeURIComponent(encodedURI : String) : String; external name 'decodeURIComponent';
 function encodeURIComponent(str : String) : String; external name 'encodeURIComponent';
 function encodeURIComponent(str : String) : String; external name 'encodeURIComponent';