{"json_modified": "2016-03-28T08:07:49.034005", "uuid": "93ac6e5e-3b45-4778-8f0b-43f1c7ec3e5d", "title": "JS_DefineFunction", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_DefineFunction", "tags": ["SpiderMonkey", "JSAPI Reference"], "translations": [], "modified": "2015-01-05T05:31:35", "label": "JS_DefineFunction", "localization_tags": [], "locale": "en-US", "id": 8557, "last_edit": "2015-01-05T05:31:25", "summary": "JS_DefineFunction exposes a C/C++ function to scripts by defining a new method on an existing JavaScript object. It creates the new Function object as though by calling JS_NewFunction, then makes it a method of obj as though by calling JS_DefineProperty. JS_DefineUCFunction is the Unicode version of the function.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "See_Also", "title": "See Also"}], "slug": "Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_DefineFunction", "review_tags": []}