Browse Source

* Array length is read-write

michael 7 years ago
parent
commit
a3ea761606
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/js.pas

+ 1 - 1
packages/rtl/js.pas

@@ -349,7 +349,7 @@ type
     function toLocaleString(locales : string; const Options : TLocaleCompareOptions) : String; overload;
     function toString : String;
     function unshift : NativeInt; varargs; 
-    Property Length : Integer Read FLength;
+    Property Length : Integer Read FLength Write FLength;
     property Elements[Index: NativeInt]: JSValue read GetElements write SetElements; default;
   end;