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_ClearScope (Function)
Summary:     Removes all properties associated with an object.
Syntax:
void JS_ClearScope(JSContext *cx, JSObject *obj);

     Argument     Type     Description
     cx     JSContext *     Pointer to a JS context from which to derive runtime information.
                 
     obj     JSObject *     Object from which to delete all properties.
                 
Description:
JS_ClearScope removes all properties and elements from obj in a single operation. To remove a single property from an object, call JS_DeleteProperty, and to remove a single array object element, call JS_DeleteElement.


See also:
JS_DeleteElement
JS_DeleteProperty
JS_GetScopeChain

[sh-index] Back to list of manuals