Browse Source

rtl: changed Null and Undefined from var to const, issue 34801

mattias 6 năm trước cách đây
mục cha
commit
2ed1cff471
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/rtl/js.pas

+ 1 - 1
packages/rtl/js.pas

@@ -782,7 +782,7 @@ Type
 
 Function GetValueType(JS : JSValue) : TJSValueType;
 
-Var
+Const
   Null : JSValue; external name 'null';
   Undefined : JSValue; external name 'undefined';