chakra-core/ChakraCore
在 GitHub 查看JSRT: JsDeleteIndexedProperty does not tell successful or not
Open
#504 建立於 2016年3月10日
APIsBugSeverity: 3good first issuehelp wanted
倉庫指標
- Star
- (9,000 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
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.