{"json_modified": "2016-10-06T04:10:16.641341", "uuid": "fea2c902-0be0-41de-aa1c-5d3efd7da0cd", "title": "Method definitions", "url": "/en-US/docs/Web/JavaScript/Reference/Functions/Method_definitions", "tags": ["Syntax", "ECMAScript6", "JavaScript", "Functions", "Object"], "translations": [{"uuid": "3dc7f6d5-b19a-4fa1-9746-a8625f1bed26", "title": "Methoden Definitionen", "url": "/de/docs/Web/JavaScript/Reference/Functions/Methoden_Definitionen", "tags": ["Funktionen", "ECMAScript6", "Syntax", "Objekte", "JavaScript"], "summary": "Beginnend mit ECMAScript 2015 (ES6) wurde eine k\u00fcrzere Syntax f\u00fcr Methodendefinitionen in Objekt Initialisierungen eingef\u00fchrt. Es ist eine Abk\u00fcrzung f\u00fcr die Zuweisung einer Funktion an einen Methodennamen.", "localization_tags": [], "locale": "de", "last_edit": "2016-08-02T02:47:04", "review_tags": []}, {"uuid": "572ae802-5413-4c5a-833d-fc22526958b7", "title": "Method definitions", "url": "/es/docs/Web/JavaScript/Referencia/Funciones/Method_definitions", "tags": [], "summary": "La sintaxis abreviada es similar a la introducida en ECMAScript 5 con\u00a0getter y setter.", "localization_tags": [], "locale": "es", "last_edit": "2016-06-16T13:28:27", "review_tags": ["editorial"]}, {"uuid": "b1502d2e-5223-4c56-a94d-e9acd1d6500c", "title": "D\u00e9finir une m\u00e9thode", "url": "/fr/docs/Web/JavaScript/Reference/Fonctions/D%C3%A9finition_de_m%C3%A9thode", "tags": ["ECMAScript6", "JavaScript", "Fonctions", "Syntaxe", "Object"], "summary": "Avec ECMAScript 2015 (ES6), il est possible d'utiliser une notation plus courte pour d\u00e9finir des m\u00e9thodes au sein des litt\u00e9raux objets. On peut ainsi d\u00e9finir plus rapidement une fonction qui sera utilis\u00e9e comme m\u00e9thode.", "localization_tags": [], "locale": "fr", "last_edit": "2016-10-06T04:10:00", "review_tags": []}, {"uuid": "ab4acd11-4d47-4ba4-93e6-5478cd8267da", "title": "Method definitions", "url": "/ja/docs/Web/JavaScript/Reference/Functions_and_function_scope/Method_definitions", "tags": ["Syntax", "ECMAScript6", "JavaScript", "Functions", "Object"], "summary": "ECMAScript 2015 (ES6) \u3088\u308a\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30a4\u30cb\u30b7\u30e3\u30e9\u30a4\u30b6\u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u306e\u305f\u3081\u306e\u77ed\u3044\u69cb\u6587\u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u540d\u524d\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u95a2\u6570\u306e\u7701\u7565\u5f62\u3067\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-04-23T05:51:45", "review_tags": ["editorial"]}, {"uuid": "d45fc42c-8c24-4025-a7f7-45ecd6bdad02", "title": "\uba54\uc11c\ub4dc \uc815\uc758", "url": "/ko/docs/Web/JavaScript/Reference/Functions/Method_definitions", "tags": ["Syntax", "ECMAScript6", "JavaScript", "Functions", "Object"], "summary": "ECMAScript 2015 (ES6)\ub97c \uc2dc\uc791\uc73c\ub85c, \uac1d\uccb4 \ucd08\uae30\uc790(initializer)\uc5d0 \uba54\uc11c\ub4dc \uc815\uc758\ub97c \uc704\ud55c \ub354 \uc9e7\uc740 \uad6c\ubb38\uc774 \ub3c4\uc785\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774\ub294 \uba54\uc11c\ub4dc \uba85\uc5d0 \ud560\ub2f9\ub41c \ud568\uc218\ub97c \uc704\ud55c \ub2e8\ucd95\uc785\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-06-15T21:34:18", "review_tags": []}, {"uuid": "c75244e7-801f-422e-af2b-15cbd591c0f2", "title": "Defini\u00e7\u00f5es de M\u00e9todo", "url": "/pt-BR/docs/Web/JavaScript/Reference/Functions/Definicoes_metodos", "tags": [], "summary": "No ECMAScript 2015 foi introduziada\u00a0uma sintaxe reduzida para defini\u00e7\u00e3o de m\u00e9todo em inicializadores de objetos. \u00c9 uma abrevia\u00e7\u00e3o para uma fun\u00e7\u00e3o atribu\u00edda ao nome do m\u00e9todo.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-12-29T10:15:53", "review_tags": []}, {"uuid": "f8649a3a-4fc2-4283-ba12-0e0a2c21f383", "title": "\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432", "url": "/ru/docs/Web/JavaScript/Reference/Functions/%D0%9E%D0%BF%D1%80%D0%B5%D0%B4%D0%B5%D0%BB%D0%B8%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%BE%D0%B2", "tags": [], "summary": "\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 ECMAScript 6, \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442\u00a0\u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0432\u00a0\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0435\u00a0\u043e\u0431\u044a\u0435\u043a\u0442\u0430. \u041f\u043e \u0441\u0443\u0442\u0438, \u044d\u0442\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0438\u043c\u0435\u043d\u0438\u00a0\u043c\u0435\u0442\u043e\u0434\u0430.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-06-15T03:11:13", "review_tags": []}, {"uuid": "a3d54fc7-727c-4001-a280-c584a822d771", "title": "\u65b9\u6cd5\u7684\u5b9a\u4e49", "url": "/zh-CN/docs/Web/JavaScript/Reference/Functions/Method_definitions", "tags": ["\u51fd\u6570", "\u5bf9\u8c61", "\u8bed\u6cd5"], "summary": "ECMAScript\u4eceECMAScript6\u5f00\u59cb\uff0c\u5f15\u5165\u4e86\u4e00\u79cd\u66f4\u7b80\u77ed\u7684\u5728\u5bf9\u8c61\u521d\u59cb\u5668\u4e2d\u5b9a\u4e49\u65b9\u6cd5\u7684\u8bed\u6cd5\uff0c\u8fd9\u662f\u4e00\u79cd\u628a\u65b9\u6cd5\u540d\u76f4\u63a5\u8d4b\u7ed9\u51fd\u6570\u7684\u7b80\u5199\u65b9\u5f0f\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-04-29T06:49:19", "review_tags": []}], "modified": "2016-10-06T02:14:39", "label": "Method definitions", "localization_tags": [], "locale": "en-US", "id": 127861, "last_edit": "2016-10-06T02:14:28", "summary": "Starting with ECMAScript 2015 (ES6), a shorter syntax for method definitions on objects initializers is introduced. It is a shorthand for a function assigned to the method's name.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "Shorthand_generator_methods", "title": "Shorthand generator methods"}, {"id": "Method_definitions_are_not_constructable", "title": "Method definitions are not constructable"}, {"id": "Examples", "title": "Examples"}, {"id": "Simple_test_case", "title": "Simple test case"}, {"id": "Computed_property_names", "title": "Computed property names"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "SpiderMonkey-specific_notes", "title": "SpiderMonkey-specific notes"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Functions/Method_definitions", "review_tags": []}