-
Notifications
You must be signed in to change notification settings - Fork 1.2k
JsConstructObject
Limin Zhu edited this page Oct 9, 2015
·
3 revisions
Invokes a function as a constructor.
STDAPI_(JsErrorCode)
JsConstructObject(
_In_ JsValueRef function,
_In_reads_(argumentCount) JsValueRef *arguments,
_In_ unsigned short argumentCount,
_Out_ JsValueRef *result);
- function: The function to invoke as a constructor.
- arguments: The arguments to the call.
- argumentCount: The number of arguments being passed in to the function.
- result: The value returned from the function invocation.
The code JsNoError if the operation succeeded, a failure code otherwise.
Requires an active script context.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki? Fork it and send a pull request!