chakra-core / chakra-core/ChakraCore

JSRT: JsDeleteIndexedProperty does not tell successful or not

Open
#504 10 comments 0 reactions 0 assignees View on GitHub
APIs Bug good first issue help wanted Severity: 3
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

`JsDeleteIndexedProperty` API does not tell if the deletion is successful or not, unlike `JsDeleteProperty` which returns that info in "result". The former also misses "useStrictRules" flag which exists in the later.

```
JsDeleteIndexedProperty(JsValueRef object, JsValueRef index)

JsDeleteProperty(JsValueRef object, JsPropertyIdRef propertyId,
bool useStrictRules,
JsValueRef *result)
```

These 2 APIs should be comparable and consistent.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.