AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JS_DeleteProperty (Function)
Summary:     Removes a specified property from an object.
Syntax:
JSBool JS_DeleteProperty(JSContext *cx, JSObject *obj,
const char *name);

     Argument     Type     Description
     cx     JSContext *     Pointer to a JS context from which to derive runtime information.
                 
     obj     JSObject *     Object from which to delete a property.
                 
     name     const char *     Name of the property to delete.
                 
Description:
JS_DeleteProperty removes a specified property, name, from an object, obj. If an object references a property belonging to a prototype, the property reference is removed from the object, but the prototype's property is not deleted. If deletion is successful, JS_DeleteProperty returns JS_TRUE. Otherwise it returns JS_FALSE.


See also:
JS_AliasProperty
JS_ClearScope
JS_DefineProperty
JS_DefinePropertyWithTinyId
JS_DefineUCProperty
JS_DefineUCPropertyWithTinyID
JS_DeleteProperty2
JS_DeleteUCProperty2
JS_GetProperty
JS_GetUCProperty
JS_LookupProperty
JS_LookupUCProperty
JS_PropertyStub
JS_SetProperty
JS_SetUCProperty

[sh-index] Back to list of manuals