chakra-core/ChakraCore
Voir sur GitHubJSRT: JsDeleteIndexedProperty does not tell successful or not
Open
#504 ouverte le 10 mars 2016
APIsBugSeverity: 3good first issuehelp wanted
Métriques du dépôt
- Stars
- (9 000 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
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.