Obsolete since JSAPI 42
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
Casts a pointer to a GC-allocated
jsdouble to type
JS::DoubleValue instead in SpiderMonkey 45 or later.
jsval DOUBLE_TO_JSVAL(double d);
||C double to convert to a
DOUBLE_TO_JSVAL is the inverse of