contents   index   previous   next



global.ToPrimitive

syntax:

ToPrimitive(value)

where:

value - to be cast as a primitive.

 

return:

value - conversion of value to one of the primitive data types.

 

description:

This function does conversions only for parameters of type Object. An internal default value of the Object is returned.

 

see:

global.ToObject()

 

 


global.ToSource()