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.

The jsval that represents the JavaScript number 1.

Syntax

JSVAL_ONE

Description

JSVAL_ONE is equivalent to INT_TO_JSVAL(1).

See also