Condividi tramite


JsGetUndefinedValue Function

Gets the value of undefined in the current script context.

Syntax

STDAPI_(JsErrorCode) JsGetUndefinedValue(  
   _Out_ JsValueRef *undefinedValue  
);  

Parameters

undefinedValue
The undefined value.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

Requires an active script context.

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)