{"json_modified": "2016-10-19T19:58:04.097757", "uuid": "dba8ef80-39ed-43bc-a309-d2d0a30bd325", "title": "Object-oriented JavaScript for beginners", "url": "/en-US/docs/Learn/JavaScript/Objects/Object-oriented_JS", "tags": ["Beginner", "OOP", "create", "Constructor", "Object", "instance", "Article", "CodingScripting", "Object-Oriented", "JavaScript", "OOJS", "Create", "Learn"], "translations": [{"uuid": "5fdfae19-09dd-4858-b0e3-ef89bed869d9", "title": "\u521d\u5b78\u8005\u61c9\u77e5\u9053\u7684\u7269\u4ef6\u5c0e\u5411 JavaScript", "url": "/zh-TW/docs/Learn/JavaScript/Objects/Object-oriented_JS", "tags": [], "summary": "\u5728\u770b\u5b8c\u4e86\u57fa\u672c\u6982\u5ff5\u4e4b\u5f8c\uff0c\u63a5\u8457\u8981\u8aaa\u660e\u7269\u4ef6\u5c0e\u5411 JavaScript (OOJS)\u3002\u672c\u6587\u5c07\u6982\u8ff0\u7269\u4ef6\u5c0e\u5411\u7a0b\u5f0f\u8a2d\u8a08 (OOP) \u7684\u7406\u8ad6\uff0c\u53e6\u8aaa\u660e JavaScript \u662f\u5982\u4f55\u900f\u904e\u5efa\u69cb\u5b50\u51fd\u5f0f\u4f86\u6a21\u64ec\u7269\u4ef6\u985e\u5225\uff0c\u53c8\u662f\u5982\u4f55\u5efa\u7acb\u7269\u4ef6\u5be6\u9ad4 (Instance)\u3002", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2016-10-19T19:58:00", "review_tags": []}], "modified": "2016-09-22T06:45:05", "label": "Object-oriented JavaScript for beginners", "localization_tags": [], "locale": "en-US", "id": 193541, "last_edit": "2016-09-22T06:45:02", "summary": "This article has provided a simplified view of object-oriented theory \u2014 this isn't the whole story, but it gives you an idea of what we are dealing with here. In addition, we have started to look at how JavaScript relates and how it differs from \"classic OOP\", how to implement classes in JavaScript using constructor functions, and different ways of generating object instances.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Object-oriented_programming_from_10000_meters", "title": "Object-oriented programming from 10,000 meters"}, {"id": "Defining_an_object_template", "title": "Defining an object template"}, {"id": "Creating_actual_objects", "title": "Creating actual objects"}, {"id": "Specialist_classes", "title": "Specialist classes"}, {"id": "Constructors_and_object_instances", "title": "Constructors and object instances"}, {"id": "A_simple_example", "title": "A simple example"}, {"id": "Creating_our_finished_constructor", "title": "Creating our finished constructor"}, {"id": "Further_exercises", "title": "Further exercises"}, {"id": "Other_ways_to_create_object_instances", "title": "Other ways to create object instances"}, {"id": "The_Object()_constructor", "title": "The Object() constructor"}, {"id": "Using_the_create()_method", "title": "Using the create() method"}, {"id": "Summary", "title": "Summary"}], "slug": "Learn/JavaScript/Objects/Object-oriented_JS", "review_tags": []}