{"json_modified": "2016-03-28T08:15:24.497433", "uuid": "2b58e67c-cd38-4fdf-a7f9-1bd24cb8b560", "title": "JS_ConstructObject", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_ConstructObject", "tags": ["Obsolete", "SpiderMonkey", "JSAPI Reference"], "translations": [{"uuid": "1cc101d6-d2df-4baf-ac2c-9d9e0f1f517b", "title": "JS ConstructObject", "url": "/ja/docs/JS_ConstructObject", "tags": ["SpiderMonkey", "JSAPI Reference"], "summary": "\u3053\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u5ec3\u6b62\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4f7f\u7528\u3057\u306a\u3044\u3067\u4e0b\u3055\u3044\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2010-05-18T15:14:14", "review_tags": []}], "modified": "2015-10-03T16:17:09", "label": "JS_ConstructObject", "localization_tags": [], "locale": "en-US", "id": 17394, "last_edit": "2015-10-03T16:17:00", "summary": "JS_ConstructObject
creates a new object of the specified class, with the specified prototype and parent, then invokes a constructor function to initialize the new object. cx
is a pointer to a context associated with the runtime in which to create the new object. clasp
is a pointer to the class of object to create. proto
and parent
may specify objects to be used as the new object's prototype and parent. If either is NULL
, the engine tries to find reasonable defaults.", "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_ConstructObject", "review_tags": []}