Explorar o código

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

mattias %!s(int64=6) %!d(string=hai) anos
pai
achega
2ed1cff471
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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';