{"json_modified": "2016-10-18T03:28:56.482982", "uuid": "eacc092a-121d-4595-a089-a63dfcc11a74", "title": "Fonctions fl\u00e9ch\u00e9es", "url": "/fr/docs/Web/JavaScript/Reference/Fonctions/Fonctions_fl%C3%A9ch%C3%A9es", "tags": ["R\u00e9f\u00e9rence", "ECMAScript6", "Fonctions", "JavaScript"], "translations": [{"uuid": "54c13612-4154-4779-92a1-69ea9ef0e7af", "title": "Arrow functions", "url": "/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions", "tags": ["Reference", "Intermediate", "Functions", "ECMAScript6", "JavaScript"], "summary": "An arrow function expression has a shorter syntax compared to function expressions and does not bind\u00a0its own\u00a0this
,\u00a0arguments,\u00a0super, or\u00a0new.target. Arrow functions are always anonymous. These function expressions are best suited for non-method functions\u00a0and they can not be used as constructors.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-10-17T15:01:53", "review_tags": []}, {"uuid": "e860333c-b117-4bd5-8dc6-de55f5463706", "title": "Funciones Flecha", "url": "/es/docs/Web/JavaScript/Referencia/Funciones/Arrow_functions", "tags": [], "summary": "La expresi\u00f3n de funci\u00f3n flecha\u00a0(tambi\u00e9n conocida como\u00a0funci\u00f3n flecha gruesa) dispone de una sintaxis m\u00e1s corta comparada con la\u00a0expresi\u00f3n de funci\u00f3n\u00a0convencional y vincula contextualmente el valor de\u00a0this. Las Funciones Flecha siempre son\u00a0an\u00f3nimas.", "localization_tags": [], "locale": "es", "last_edit": "2016-02-29T16:52:38", "review_tags": []}, {"uuid": "19e58180-c864-43ab-870a-4a528b1918fb", "title": "\u30a2\u30ed\u30fc\u95a2\u6570", "url": "/ja/docs/Web/JavaScript/Reference/arrow_functions", "tags": ["Reference", "Intermediate", "Functions", "ECMAScript6", "JavaScript"], "summary": "\u30a2\u30ed\u30fc\u95a2\u6570\u5f0f \u306f\u3001function \u5f0f \u3068\u6bd4\u3079\u3066\u3088\u308a\u77ed\u3044\u69cb\u6587\u3092\u6301\u3061\u3001this \u306e\u5024\u3092\u8a9e\u5f59\u7684\u306b\u675f\u7e1b\u3057\u307e\u3059 (\u305f\u3060\u3057\u3001\u81ea\u8eab\u306e this \u3084 arguments, super, new.target \u306f\u675f\u7e1b\u3057\u307e\u305b\u3093)\u3002\u30a2\u30ed\u30fc\u95a2\u6570\u306f\u3001\u5e38\u306b \u533f\u540d\u95a2\u6570 \u3067\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-05-03T03:25:18", "review_tags": []}, {"uuid": "e4312dbe-4617-47b1-83f3-b6bdea780c78", "title": "\ud654\uc0b4\ud45c \ud568\uc218", "url": "/ko/docs/Web/JavaScript/Reference/Functions/%EC%95%A0%EB%A1%9C%EC%9A%B0_%ED%8E%91%EC%85%98", "tags": ["Reference", "Intermediate", "Functions", "ECMAScript6", "JavaScript"], "summary": "\ud654\uc0b4\ud45c \ud568\uc218 \uc2dd(arrow function expression)\uc740 function \uc2dd\uc5d0 \ube44\ud574 \uad6c\ubb38\uc774 \uc9e7\uace0 (\uc790\uc2e0\uc758 this, arguments, super \ub610\ub294 new.target\uc744 \ubc14\uc778\ub529 \ud558\uc9c0 \uc54a\ub294) this \uac12\uc744 \ub809\uc2dc\uceec(lexically, \uc815\uc801) \ubc14\uc778\ub529 \ud569\ub2c8\ub2e4. \ud654\uc0b4\ud45c \ud568\uc218\ub294 \ud56d\uc0c1 \uc775\uba85\uc785\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-07-10T08:58:22", "review_tags": []}, {"uuid": "5921c475-e665-482f-9a38-3aa4237c7b13", "title": "Arrow functions", "url": "/pt-BR/docs/Web/JavaScript/Reference/Functions/Arrow_functions", "tags": [], "summary": "Uma express\u00e3o arrow function possui uma s\u00edntaxe mais curta quando comparada com express\u00f5es de fun\u00e7\u00e3o (function expressions) e vincula o valor de this de maneira l\u00e9xica. Arrow functions sempre s\u00e3o an\u00f4nimas.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-04-19T11:19:04", "review_tags": []}, {"uuid": "30003e54-5d17-4030-8abd-ffc09f501470", "title": "\u0421\u0442\u0440\u0435\u043b\u043e\u0447\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438", "url": "/ru/docs/Web/JavaScript/Reference/Functions/Arrow_functions", "tags": ["ECMAScript6", "\u0424\u0443\u043d\u043a\u0446\u0438\u0438", "JavaScript"], "summary": "\u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0435\u043b\u043e\u0447\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438\u043c\u0435\u044e\u0442 \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u043b\u0435\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u044b \u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e\u00a0this (\u043d\u043e \u043d\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u044b \u043a \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c\u0443 this,\u00a0arguments,\u00a0super, \u0438\u043b\u0438 new.target). \u0421\u0442\u0440\u0435\u043b\u043e\u0447\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0435.", "localization_tags": [], "locale": "ru", "last_edit": "2016-02-06T11:57:07", "review_tags": []}, {"uuid": "f060c506-9bfd-4f40-a6b5-55cf9af5f290", "title": "\u7bad\u5934\u51fd\u6570", "url": "/zh-CN/docs/Web/JavaScript/Reference/Functions/Arrow_functions", "tags": ["\u51fd\u6570", "ECMAScript6", "\u4e2d\u7ea7"], "summary": "\u7bad\u5934\u51fd\u6570\u5c31\u662f\u4e2a\u7b80\u5199\u5f62\u5f0f\u7684\u51fd\u6570\u8868\u8fbe\u5f0f\uff0c\u5e76\u4e14\u5b83\u62e5\u6709\u8bcd\u6cd5\u4f5c\u7528\u57df\u7684this\u503c\uff08\u5373\u4e0d\u4f1a\u65b0\u4ea7\u751f\u81ea\u5df1\u4f5c\u7528\u57df\u4e0b\u7684this,\u00a0arguments,\u00a0super \u548c new.target \u7b49\u5bf9\u8c61\uff09\u3002\u6b64\u5916\uff0c\u7bad\u5934\u51fd\u6570\u603b\u662f\u533f\u540d\u7684\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-08-23T20:25:47", "review_tags": []}, {"uuid": "58004e14-abc0-4e81-8fa8-456fdcff5c3c", "title": "\u7bad\u982d\u51fd\u6578 (Arrow Function)", "url": "/zh-TW/docs/Web/JavaScript/Reference/Functions/Arrow_functions", "tags": [], "summary": "\u7bad\u982d\u51fd\u6578\u8868\u793a\u5f0f (Arrow function expression\uff0c\u4e5f\u662f\u6240\u8b02\u7684\u00a0fat arrow function) \u6bd4\u8d77\u4e00\u822c\u7684\u51fd\u6578\u8868\u793a\u5f0f\u64c1\u6709\u66f4\u77ed\u7684\u8a9e\u6cd5\u4ee5\u53ca\u8a5e\u5f59\u4e0a\u7d81\u5b9a this \u8b8a\u6578\uff0c\u6240\u6709\u7684\u7bad\u982d\u51fd\u6578\u90fd\u662f\u7121\u540d\u51fd\u6578 (anonymous function).", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-10-03T03:47:28", "review_tags": []}], "modified": "2016-10-18T03:28:54", "label": "Fonctions fl\u00e9ch\u00e9es", "localization_tags": [], "locale": "fr", "id": 124819, "last_edit": "2016-10-18T03:28:45", "summary": "Une expression de fonction fl\u00e9ch\u00e9e (arrow function en anglais) permet d'avoir une syntaxe plus courte que les expressions de fonction et ne lie pas ses propres\u00a0this
,\u00a0arguments
,\u00a0super
, ou\u00a0new.target
. Les fonctions fl\u00e9ch\u00e9s sont obligatoirement anonymes et ne sont donc pas destin\u00e9es \u00e0 \u00eatre utilis\u00e9es pour d\u00e9clarer des m\u00e9thodes.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntaxe", "title": "Syntaxe"}, {"id": "Description", "title": "Description"}, {"id": "Syntaxe_plus_courte", "title": "Syntaxe plus courte"}, {"id": "Pas_de_liaison_pour_this", "title": "Pas de liaison pour "}, {"id": "Liens_avec_le_mode_strict", "title": "Liens avec le mode strict"}, {"id": "Appel_via_Function.prototype.call()_ou_Function.prototype.apply()", "title": "Appel via "}, {"id": "Pas_de_liaison_pour_arguments", "title": "Pas de liaison pour "}, {"id": "Les_fonctions_fl\u00e9ch\u00e9es_comme_m\u00e9thodes", "title": "Les fonctions fl\u00e9ch\u00e9es comme m\u00e9thodes"}, {"id": "Utiliser_le_mot-cl\u00e9_yield", "title": "Utiliser le mot-cl\u00e9 "}, {"id": "Utiliser_le_mot-cl\u00e9_new", "title": "Utiliser le mot-cl\u00e9 "}, {"id": "Gestion_du_corps_de_la_fonction", "title": "Gestion du corps de la fonction"}, {"id": "Renvoyer_des_litt\u00e9raux_objets", "title": "Renvoyer des litt\u00e9raux objets"}, {"id": "Sauts_de_ligne", "title": "Sauts de ligne"}, {"id": "Ordre_syntaxique", "title": "Ordre syntaxique"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Notes_relatives_\u00e0_Firefox", "title": "Notes relatives \u00e0 Firefox"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "slug": "Web/JavaScript/Reference/Fonctions/Fonctions_fl\u00e9ch\u00e9es", "review_tags": []}