{"json_modified": "2016-03-28T08:17:17.735032", "uuid": "b3b47e73-8bbb-45ae-bb1a-cd50a3a81f45", "title": "JS_DecompileScript", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_DecompileScript", "tags": ["R\u00e9f\u00e9rence", "Reference", "SpiderMonkey", "JSAPI Reference"], "translations": [], "modified": "2015-01-18T17:17:20", "label": "JS_DecompileScript", "localization_tags": [], "locale": "en-US", "id": 19166, "last_edit": "2015-01-18T17:17:11", "summary": "JS_DecompileScript
returns the source code of script
. If script
is a function, it calls JS_DecompileFunction
. Otherwise, it returns the original source code of the script. If the script is not cached, it tries to load the source from file, and returns nullptr
if an error happened while loading.", "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_DecompileScript", "review_tags": ["technical"]}