Variants

How do declare a variant?

In the Delphi IDE, it is straight forward, but even adding the unit "System.Variants" in VS, the compiler does not recognize the "Variant" type?

The same goes for "VarArrayOf".

How do I reference these two types?

The pas2js compiler does not support variant at this moment.
The closest there is to this is the JSValue type.