Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JsObjectSetProperty

rhuanjl edited this page Sep 1, 2018 · 1 revision

Puts an object's property.

Syntax

CHAKRA_API
    JsObjectSetProperty(
        _In_ JsValueRef object,
        _In_ JsValueRef key,
        _In_ JsValueRef value,
        _In_ bool useStrictRules);

Parameters

  • object: The object that contains the property.
  • key: The key (JavascriptString or JavascriptSymbol) to the property.
  • value: The new value of the property.
  • useStrictRules: The property set should follow strict mode rules.

Return Value

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

Remarks

This API is experimental and may have breaking changes later.

Requires an active script context.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.