浏览代码

* Array length is read-write

michael 7 年之前
父节点
当前提交
a3ea761606
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;