| |||||||||||||||
SummaryProvides a dummy property argument for API routines that requires property information. | |||||||||||||||
SyntaxJSBool JS_PropertyStub(JSContext *cx, JSObject *obj, jsval id, jsval *vp);
| |||||||||||||||
DescriptionJS_PropertyStub provides a convenient way to pass a property to an API function that requires one without requiring you to create an actual property definition. This is especially useful for internal operations, such as class definitions. A property stub is a place holder for an actual property assignment function.
As designed,
| |||||||||||||||
See Also
|