diff --git a/utils/pas2js/docs/translation.html b/utils/pas2js/docs/translation.html index ed100b60a4..02a69ed425 100644 --- a/utils/pas2js/docs/translation.html +++ b/utils/pas2js/docs/translation.html @@ -595,8 +595,8 @@ End.
  • Double := Currency -> Double = Currency/10000
  • Currency := Double -> Currency = Math.floor(Double*10000)
  • JSValue := Currency -> JSValue = Currency/10000
  • -
  • Keep in mind that a double has only 52 bits for the number, so calculating - values greater than 450,359,962,737 might give a different result than in Delphi/FPC. +
  • Keep in mind that a double has only 54 bits for the number, so calculating + values greater than 900,719,925,474 might give a different result than in Delphi/FPC. See SysUtils.MinCurrency/MaxCurrency
  • @@ -1606,11 +1606,19 @@ function(){
  • Class.$unitname is the unit name. E.g. TClassA.$unitname == 'MyModule'.
  • The "is"-operator is implemented using "isPrototypeOf". Note that "instanceof" cannot be used, because classes are JS objects.
  • The "as" operator is implemented as rtl.as(Object,Class).
  • -
  • Supported: constructor, destructor, private, protected, public, - strict private, strict protected, class vars, class methods, - class constructor, external methods, - virtual, override, abstract, call inherited, assigned(), type cast, - overloads, reintroduce, sealed class, nested types.
  • +
  • Supported: + +
  • Not supported: class destructor
  • Property: Notes: