Skip to content
paulbartrum edited this page Dec 14, 2015 · 1 revision

Because of the dynamic nature of JavaScript Jurassic exposes many APIs with method parameters of type System.Object. However, Jurassic supports only a limited subset of the .NET type system. Attempting to use an unsupported type in a Jurassic API may have unintended effects.

The supported types are as follows:

C# type name .NET type name JavaScript type name
bool System.Boolean boolean
int System.Int32 number
double System.Double number
string System.String string
Jurassic.Null Jurassic.Null null
Jurassic.Undefined Jurassic.Undefined undefined
Jurassic.Library.ObjectInstance (or a derived type) Jurassic.Library.ObjectInstance (or a derived type) object