JavaScript native data types consist of boolean, numeric and string. The language is not typed, so data types are implicit upon assignment. |
The VRML SFBool is mapped to the JavaScript boolean. The JavaScript true and false constants, the VRML's TRUE and FALSE values may be used. |
The VRML SFInt32, SFFloat and SFTime fields are mapped to the numeric data type and will be maintained in double precision accuracy. |