Browse Source

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

mattias 6 years ago
parent
commit
2ed1cff471
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/js.pas

+ 1 - 1
packages/rtl/js.pas

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