Reference (JavaScript runtime)
Note
The features described in this document are no longer being maintained. For more information on the new WebView2 control, see Introduction to Microsoft Edge WebView2 (Preview).
JavaScript Runtime (JsRT) APIs enable you to add scripting capabilities to desktop and server-side applications running on Windows.
If you intend to embed ChakraCore in your application, please refer to ChakraCore Wiki for JSRT references instead.
In this section
Typedefs, constants, and enumerations that support JsRT hosting are described here:
The following functions enable JsRT hosting:
- JsAddRef Function
- JsBooleanToBool Function
- JsBoolToBoolean Function
- JsCallFunction Function
- JsCollectGarbage Function
- JsConstructObject Function
- JsConvertValueToBoolean Function
- JsConvertValueToNumber Function
- JsConvertValueToObject Function
- JsConvertValueToString Function
- JsCreateArray Function
- JsCreateArrayBuffer Function
- JsCreateContext Function
- JsCreateDataView Function
- JsCreateError Function
- JsCreateExternalArrayBuffer Function
- JsCreateExternalObject Function
- JsCreateFunction Function
- JsCreateNamedFunction Function
- JsCreateObject Function
- JsCreateRangeError Function
- JsCreateReferenceError Function
- JsCreateRuntime Function
- JsCreateSymbol Function
- JsCreateSyntaxError Function
- JsCreateTypeError Function
- JsCreateTypedArray Function
- JsCreateURIError Function
- JsDefineProperty Function
- JsDeleteIndexedProperty Function
- JsDeleteProperty Function
- JsDisableRuntimeExecution Function
- JsDisposeRuntime Function
- JsDoubleToNumber Function
- JsEnableRuntimeExecution Function
- JsEnumerateHeap Function
- JsEquals Function
- JsGetAndClearException Function
- JsGetArrayBufferStorage Function
- JsGetContextData Function
- JsGetContextOfObject Function
- JsGetCurrentContext Function
- JsGetDataViewStorage Function
- JsGetExtensionAllowed Function
- JsGetExternalData Function
- JsGetFalseValue Function
- JsGetGlobalObject Function
- JsGetIndexedPropertiesExternalData Function
- JsGetIndexedProperty Function
- JsGetNullValue Function
- JsGetOwnPropertyDescriptor Function
- JsGetOwnPropertyNames Function
- JsGetOwnPropertySymbols Function
- JsGetProperty Function
- JsGetPropertyIdFromName Function
- JsGetPropertyIdFromSymbol Function
- JsGetPropertyIdType Function
- JsGetPropertyNameFromId Function
- JsGetPrototype Function
- JsGetRuntime Function
- JsGetRuntimeMemoryLimit Function
- JsGetRuntimeMemoryUsage Function
- JsGetStringLength Function
- JsGetSymbolFromPropertyId Function
- JsGetTrueValue Function
- JsGetTypedArrayInfo Function
- JsGetTypedArrayStorage Function
- JsGetUndefinedValue Function
- JsGetValueType Function
- JsHasException Function
- JsHasExternalData Function
- JsHasIndexedPropertiesExternalData Function
- JsHasIndexedProperty Function
- JsHasProperty Function
- JsIdle Function
- JsInspectableToObject Function
- JsInstanceOf Function
- JsIntToNumber Function
- JsIsEnumeratingHeap Function
- JsIsRuntimeExecutionDisabled Function
- JsNumberToDouble Function
- JsNumberToInt Function
- JsObjectToInspectable Function
- JsParseScript Function
- JsParseSerializedScript Function
- JsParseSerializedScriptWithCallback Function
- JsPointerToString Function
- JsPreventExtension Function
- JsProjectWinRTNamespace Function
- JsRelease Function
- JsRunScript Function
- JsRunSerializedScript Function
- JsRunSerializedScriptWithCallback Function
- JsSerializeScript Function
- JsSetContextData Function
- JsSetCurrentContext Function
- JsSetException Function
- JsSetExternalData Function
- JsSetIndexedPropertiesToExternalData Function
- JsSetIndexedProperty Function
- JsSetObjectBeforeCollectCallback Function
- JsSetProjectionEnqueueCallback Function
- JsSetPromiseContinuationCallback Function
- JsSetProperty Function
- JsSetPrototype Function
- JsSetRuntimeBeforeCollectCallback Function
- JsSetRuntimeMemoryAllocationCallback Function
- JsSetRuntimeMemoryLimit Function
- JsStartDebugging Function
- JsStartProfiling Function
- JsStopProfiling Function
- JsStrictEquals Function
- JsStringToPointer Function
- JsValueToVariant Function
- JsVariantToValue Function