{"json_modified": "2016-05-20T10:08:16.776043", "uuid": "5a9d81a0-4880-4704-a60b-64eb2d82f40a", "title": "Funciones", "url": "/es/docs/Web/JavaScript/Guide/Funciones", "tags": ["Guia", "Funciones", "Principiante", "Gu\u00eda", "JavaScript"], "translations": [{"uuid": "fde3f78a-6bd7-4464-abfe-2cd95276a730", "title": "Functions", "url": "/en-US/docs/Web/JavaScript/Guide/Functions", "tags": ["Functions", "Beginner", "Guide", "guide", "JavaScript", "beginner"], "summary": "Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure\u2014a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-05-05T11:01:36", "review_tags": []}, {"uuid": "8f9de729-f6c2-49b3-9277-429be3c723e1", "title": "\u95a2\u6570", "url": "/ja/docs/Web/JavaScript/Guide/Functions", "tags": ["Functions", "NeedsMarkupWork", "JavaScript"], "summary": "\u95a2\u6570\u306f JavaScript \u306e\u57fa\u672c\u7684\u306a\u69cb\u6210\u8981\u7d20\u306e\u3072\u3068\u3064\u3067\u3059\u3002\u307e\u305f\u95a2\u6570\u306f\u3001JavaScript \u306e\u624b\u7d9a\u304d \u2015 \u3064\u307e\u308a\u3001\u30bf\u30b9\u30af\u3084\u5024\u8a08\u7b97\u3092\u5b9f\u884c\u3059\u308b\u6587\u306e\u96c6\u307e\u308a\u3067\u3059\u3002\u95a2\u6570\u3092\u4f7f\u3046\u306b\u306f\u3001\u547c\u3073\u51fa\u3057\u305f\u3044\u30b9\u30b3\u30fc\u30d7\u5185\u306e\u3069\u3053\u304b\u3067\u305d\u308c\u3092\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-10-10T22:55:37", "review_tags": ["technical", "editorial"]}, {"uuid": "d708b6e2-c152-46bb-baa1-83846e80e613", "title": "\u0424\u0443\u043d\u043a\u0446\u0438\u0438", "url": "/ru/docs/Web/JavaScript/Guide/Functions", "tags": ["\u041e\u0441\u043d\u043e\u0432\u044b", "\u0424\u0443\u043d\u043a\u0446\u0438\u0438"], "summary": "\u0424\u0443\u043d\u043a\u0446\u0438\u0438 - \u043a\u043b\u044e\u0447\u0435\u0432\u0430\u044f\u00a0\u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f\u00a0\u0432 JavaScript.\u00a0\u0412\u0430\u0436\u043d\u0435\u0439\u0448\u0435\u0439 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u044f\u0437\u044b\u043a\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0432\u043e\u043a\u043b\u0430\u0441\u0441\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439\u200b (functions as first-class citizen).\u00a0\u041b\u044e\u0431\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u044d\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442, \u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0435\u044e\u00a0\u043c\u043e\u0436\u043d\u043e \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c, \u0432\u00a0\u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438:", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-05-10T01:08:51", "review_tags": []}, {"uuid": "956ff54d-6e31-453b-bd55-93027ef83e6d", "title": "\u51fd\u6570", "url": "/zh-CN/docs/Web/JavaScript/Guide/Functions", "tags": ["\u521d\u5b66\u8005", "\u51fd\u6570", "\u6559\u7a0b", "JavaScript"], "summary": "\u51fd\u6570\u662f\u642d\u5efaJavaScript\u5757\u7684\u57fa\u672c\u6784\u4ef6\u4e4b\u4e00\u3002\u4e00\u4e2a\u51fd\u6570\u672c\u8eab\u5c31\u662f\u4e00\u6bb5JavaScript\u7a0b\u5e8f\u2014\u2014\u5305\u542b\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u4efb\u52a1\u6216\u8ba1\u7b97\u7684\u4e00\u7cfb\u5217\u8bed\u53e5\u3002\u8981\u4f7f\u7528\u67d0\u4e00\u4e2a\u51fd\u6570\uff0c\u4f60\u5fc5\u9700\u5728\u60f3\u8981\u8c03\u7528\u8fd9\u4e2a\u51fd\u6570\u7684\u6267\u884c\u57df\u7684\u67d0\u5904\u5b9a\u4e49\u5b83\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-03-21T19:11:21", "review_tags": []}, {"uuid": "5a8015fa-a3bb-463a-87f9-7bd71d0ed15b", "title": "Funktionen", "url": "/de/docs/Web/JavaScript/Guide/Funktionen", "tags": ["Funktionen", "Guide", "Beginner", "beginner", "JavaScript"], "summary": "Funktionen sind ein Grundbaustein in JavaScript. Eine Funktion ist eine Prozedur - eine Reihe von Anweisung, um eine Augabe zu erf\u00fcllen oder eine Rechnung. Um Funktionen zu verwenden, m\u00fcssen sie im Scope (G\u00fcltigkeitsbereich) deklariert werden, in der sie gebraucht wird.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2016-05-03T03:32:34", "review_tags": ["technical", "editorial"]}, {"uuid": "602eeb53-fc8f-40b5-8b3c-278ba2175a6b", "title": "Fonctions", "url": "/fr/docs/Web/JavaScript/Guide/Fonctions", "tags": ["Functions", "Guide", "JavaScript", "guide", "D\u00e9butant"], "summary": "Les fonctions font partie des briques fondamentales de JavaScript. Une fonction est une proc\u00e9dure JavaScript, un ensemble d'instructions effectuant une t\u00e2che ou calculant une valeur. Afin d'utiliser une fonction, il est n\u00e9cessaire de l'avoir auparavant d\u00e9finie au sein de la port\u00e9e dans laquelle on souhaite l'appeler.", "localization_tags": [], "locale": "fr", "last_edit": "2016-05-06T07:43:18", "review_tags": []}, {"uuid": "19b59c7a-4cec-4d05-bb95-c9035f6082cd", "title": "\u09ab\u09be\u0982\u09b6\u09a8", "url": "/bn-BD/docs/Web/JavaScript/Guide/Functions", "tags": ["Guide", "JavaScript"], "summary": "\u09ab\u09be\u0982\u09b6\u09a8 \u09b9\u099a\u09cd\u099b\u09c7 \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f\u09c7\u09b0 \u0985\u09a8\u09cd\u09af\u09a4\u09ae \u09ac\u09bf\u09b2\u09cd\u09a1\u09bf\u0982 \u09ac\u09cd\u09b2\u0995\u0964 \u09ab\u09be\u0982\u09b6\u09a8 \u09b9\u099a\u09cd\u099b\u09c7\u0983 \u0995\u09bf\u099b\u09c1 \u09b8\u09cd\u099f\u09c7\u099f\u09ae\u09c7\u09a8\u09cd\u099f \u09af\u09c7\u0997\u09c1\u09b2\u09cb execute \u09b9\u09ac\u09c7, \u09af\u09be\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u0986\u09aa\u09a8\u09bf \u0995\u09cb\u09a8 \u0995\u09be\u099c \u0995\u09b0\u09ac\u09c7\u09a8 \u0985\u09a5\u09ac\u09be \u0995\u09cb\u09a8 \u09ae\u09be\u09a8 \u09a8\u09bf\u09b0\u09cd\u09a3\u09df \u0995\u09b0\u09ac\u09c7\u09a8\u0964 \u09ab\u09be\u0982\u09b6\u09a8 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be\u09b0 \u099c\u09a8\u09cd\u09af \u0986\u09aa\u09a8\u09bf \u09af\u09c7\u0987 \u09b8\u09cd\u0995\u09cb\u09aa \u09a5\u09c7\u0995\u09c7 \u09ab\u09be\u0982\u09b6\u09a8 \u0995\u09b2 \u0995\u09b0\u09ac\u09c7\u09a8, \u09b8\u09c7\u0996\u09be\u09a8\u09c7 \u09ab\u09be\u0982\u09b6\u09a8\u099f\u09bf \u09b2\u09bf\u0996\u09a4\u09c7 \u09b9\u09ac\u09c7 (\u09a1\u09bf\u09ab\u09be\u0987\u09a8 \u0995\u09b0\u09a4\u09c7 \u09b9\u09ac\u09c7)\u0964", "localization_tags": ["inprogress"], "locale": "bn-BD", "last_edit": "2015-04-26T05:04:04", "review_tags": []}, {"uuid": "5ca78ee1-4926-4ece-bf8f-cd0924919954", "title": "\u51fd\u5f0f", "url": "/zh-TW/docs/Web/JavaScript/Guide/Functions", "tags": [], "summary": "\u51fd\u5f0f\u662f\u69cb\u6210javascript\u7684\u57fa\u672c\u8981\u7d20\u4e4b\u4e00\u3002\u4e00\u500b\u51fd\u5f0f\u672c\u8eab\u5c31\u662f\u4e00\u6bb5JavaScript\u7a0b\u5e8f\u2014\u5305\u542b\u7528\u65bc\u57f7\u884c\u67d0\u4e00\u500b\u4efb\u52d9\u6216\u8a08\u7b97\u7684\u8a9e\u6cd5\u3002\u8981\u547c\u53eb\u67d0\u4e00\u500b\u51fd\u5f0f\u4e4b\u524d\uff0c\u4f60\u5fc5\u9700\u5148\u5728\u9019\u500b\u51fd\u5f0f\u6b32\u57f7\u884c\u7684scope\u4e2d\u5b9a\u7fa9\u5b83\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2014-07-04T07:14:09", "review_tags": []}, {"uuid": "4d41c408-d49d-4779-a2d0-0495d6a23aa9", "title": "Functions", "url": "/th/docs/Web/JavaScript/Guide/Functions", "tags": [], "summary": "\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e40\u0e1b\u0e47\u0e19\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e2b\u0e25\u0e31\u0e01\u0e02\u0e2d\u0e07\u0e08\u0e32\u0e27\u0e32\u0e2a\u0e04\u0e23\u0e34\u0e1b\u0e15\u0e4c \u0e2b\u0e19\u0e36\u0e48\u0e07\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e04\u0e37\u0e2d\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e01\u0e23\u0e30\u0e1a\u0e27\u0e19\u0e01\u0e32\u0e23\u0e02\u0e2d\u0e07\u0e08\u0e32\u0e27\u0e32\u0e2a\u0e04\u0e23\u0e34\u0e1b\u0e15\u0e4c \u0e0b\u0e36\u0e48\u0e07\u0e01\u0e47\u0e04\u0e37\u0e2d\u0e0a\u0e38\u0e14\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e35\u0e48\u0e17\u0e33\u0e07\u0e32\u0e19\u0e2b\u0e23\u0e37\u0e2d\u0e04\u0e33\u0e19\u0e27\u0e13\u0e04\u0e48\u0e32 \u0e42\u0e14\u0e22\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e1b\u0e23\u0e30\u0e01\u0e32\u0e28\u0e43\u0e0a\u0e49\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e17\u0e35\u0e48\u0e43\u0e14\u0e01\u0e47\u0e44\u0e14\u0e49\u0e20\u0e32\u0e22\u0e43\u0e19\u0e02\u0e2d\u0e1a\u0e40\u0e02\u0e15\u0e17\u0e35\u0e48\u0e04\u0e38\u0e13\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49", "localization_tags": ["inprogress"], "locale": "th", "last_edit": "2014-04-02T01:38:09", "review_tags": []}, {"uuid": "64f923de-8519-42c0-bf90-945717295a42", "title": "Fun\u00e7\u00f5es", "url": "/pt-BR/docs/Web/JavaScript/Guide/Fun%C3%A7%C3%B5es", "tags": ["Fun\u00e7\u00f5es JavaScript", "Guia", "Iniciante", "JavaScript"], "summary": "Fun\u00e7\u00f5es s\u00e3o blocos de constru\u00e7\u00e3o fundamentais em JavaScript. Uma fun\u00e7\u00e3o \u00e9 um procedimento de JavaScript - um conjunto de instru\u00e7\u00f5es\u00a0que executa uma tarefa ou calcula um valor. Para usar uma fun\u00e7\u00e3o, voc\u00ea deve defini-la em algum lugar no \u00e2mbito do qual voc\u00ea quiser cham\u00e1-la.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-01-11T07:55:11", "review_tags": ["editorial"]}, {"uuid": "6ceb2879-43a7-410d-83d7-80054ba4db19", "title": "Funcions", "url": "/ca/docs/Web/JavaScript/Guide/Functions", "tags": [], "summary": "Les funcions s\u00f3n uns dels\u00a0blocs de construcci\u00f3 elementals en\u00a0JavaScript. Una funci\u00f3 \u00e9s un procediment de JavaScript\u2014un conjunt de sent\u00e8ncies que performa una tasca o\u00a0calcula un valor. Per tal de fer servir una funci\u00f3,\u00a0primer s'ha de defnir en alguna part de l'\u00e1mbit en que es vol cridar.", "localization_tags": [], "locale": "ca", "last_edit": "2015-04-26T06:11:05", "review_tags": []}, {"uuid": "d719e74b-497b-4dee-8dca-a87a2a454eae", "title": "\ud568\uc218", "url": "/ko/docs/Web/JavaScript/Guide/%ED%95%A8%EC%88%98", "tags": [], "summary": "\ud568\uc218\ub294 JavaScript\uc5d0\uc11c \uae30\ubcf8\uc801\uc778 \ube4c\ub529 \ube14\ub85d \uc911\uc758 \ud558\ub098\uc785\ub2c8\ub2e4. \ud568\uc218\ub294 \uc791\uc5c5\uc744 \uc218\ud589\ud558\uac70\ub098 \uac12\uc744 \uacc4\uc0b0\ud558\ub294 \ubb38\uc7a5\uc758 \uc9d1\ud569\uacfc \uac19\uc740 \uc790\ubc14\uc2a4\ud2b8\ub9bd\ud2b8 \uc808\ucc28\uc785\ub2c8\ub2e4. \ud568\uc218\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ud568\uc218\ub97c \ud638\ucd9c\ud558\uace0\uc790 \ud558\ub294 \ubc94\uc704 \uc5b4\ub518\uac00\uc5d0\u00a0\ud568\uc218\ub97c \uc815\uc758\ud574\uc57c\ub9cc \ud569\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2015-10-11T19:39:25", "review_tags": []}, {"uuid": "533db203-be18-4893-bf59-907bf9cc28c2", "title": "Funkcje", "url": "/pl/docs/Web/JavaScript/Guide/Funkcje", "tags": [], "summary": "Funkcje s\u0105 jednym z podstawowych 'klock\u00f3w' JavaScriptu. Funkcja jest zbiorem wyra\u017ce\u0144, kt\u00f3re wykonuj\u0105 jakie\u015b zadanie, b\u0105d\u017a obliczaj\u0105 warto\u015b\u0107. Aby u\u017cy\u0107 funkcji, musisz najpierw zdefiniowa\u0107 j\u0105 gdzie\u015b w zasi\u0119gu, z kt\u00f3rego zostanie wywo\u0142ana.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2015-12-14T01:28:22", "review_tags": ["technical", "editorial"]}, {"uuid": "39da3330-2615-419c-829b-68cf0e28dc66", "title": "Functions", "url": "/my/docs/Web/JavaScript/Guide/Functions", "tags": ["Functions", "Beginner", "Guide", "Myanmar", "JavaScript"], "summary": "Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure\u2014a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.", "localization_tags": ["inprogress"], "locale": "my", "last_edit": "2015-08-17T01:07:37", "review_tags": []}, {"uuid": "06180413-ec35-4a09-aab1-ab4c97235c36", "title": "Functions", "url": "/vi/docs/Web/JavaScript/Guide/Functions", "tags": [], "summary": "Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure\u2014a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.", "localization_tags": ["inprogress"], "locale": "vi", "last_edit": "2015-09-25T09:13:51", "review_tags": []}, {"uuid": "1086aaee-81e3-4167-8d2c-2f08bf68cc71", "title": "Funzioni", "url": "/it/docs/Web/JavaScript/Guida/Functions", "tags": [], "summary": "Le funzioni sono tra i blocchi di programmazione fondamentali in JavaScript. Una funzione \u00e8 una procedura JavaScript \u2014 un gruppo di istruzioni ( statement ) che esegue un compito o calcola un valore. Per usare una funzione, occorre definirla, all'interno dello scope dal quale la si invocher\u00e0.", "localization_tags": ["inprogress"], "locale": "it", "last_edit": "2016-01-22T14:33:34", "review_tags": []}, {"uuid": "0ea3db6f-1c6b-43b7-b75c-12e24c301800", "title": "Functions", "url": "/nl/docs/Web/JavaScript/Guide/Functions", "tags": [], "summary": "Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure\u2014a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.", "localization_tags": ["inprogress"], "locale": "nl", "last_edit": "2016-02-18T02:55:41", "review_tags": []}], "modified": "2016-05-20T10:08:03", "label": "Funciones", "localization_tags": ["inprogress"], "locale": "es", "id": 83129, "last_edit": "2016-05-20T10:06:09", "summary": "Las funciones son uno de los pilares fundamentales en JavaScript. Una funci\u00f3n es un procedimiento JavaScript\u2014un conjunto de sentencias que realiza una tarea o calcula un valor. Para usar una funci\u00f3n, debes definirla en alg\u00fan lugar del \u00e1mbito desde el cual deseas llamarla.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Definici\u00f3n_de_funciones", "title": "Definici\u00f3n de funciones"}, {"id": "Declaraciones_de_funci\u00f3n", "title": "Declaraciones de funci\u00f3n"}, {"id": "Expresiones_de_funci\u00f3n", "title": "Expresiones de funci\u00f3n"}, {"id": "Llamando_funciones", "title": "Llamando funciones"}, {"id": "\u00c1mbito_de_una_Funci\u00f3n", "title": "\u00a0\u00c1mbito de una Funci\u00f3n"}, {"id": "Scope_and_the_function_stack", "title": "\u00a0"}, {"id": "Scope_and_the_function_stack", "title": "\u00c1mbito y la pila de la funci\u00f3n"}, {"id": "Recursion", "title": "La recursividad"}, {"id": "Funciones_anidadas_y_cierres", "title": "Funciones anidadas y cierres"}, {"id": "Efficiency_considerations", "title": "Preservaci\u00f3n de variables"}, {"id": "Multiply-nested_functions", "title": "Funciones Multi-anidadas"}, {"id": "Name_conflicts", "title": "Conflictos de nombres"}, {"id": "Clausuras_(o_cierres)", "title": "Clausuras (o cierres)"}, {"id": "Usando_el_objeto_arguments", "title": "Usando el objeto arguments"}, {"id": "Parametros_de_funcion", "title": "Parametros de funcion"}, {"id": "Parametro_por_defecto", "title": "Parametro por defecto"}, {"id": "Parametros_en_ristra", "title": "Parametros en ristra"}, {"id": "Funciones_flecha", "title": "Funciones flecha"}, {"id": "Funciones_m\u00e1s_cortas", "title": "Funciones m\u00e1s cortas"}, {"id": "this_lexico", "title": null}, {"id": "Funciones_predefinidas", "title": "Funciones predefinidas"}, {"id": "Funcion_eval", "title": "Funcion "}, {"id": "Funcion_isFinite", "title": "Funcion "}, {"id": "Funcion_isNaN", "title": "Funcion "}, {"id": "Funciones_parseInt_and_parseFloat", "title": null}, {"id": "Funciones_Number_y_String", "title": "Funciones Number y String"}, {"id": "Funciones_escape_y_unescape_(Obsoletas._En_versiones_antes_de_JavaScript_1.5)", "title": "Funciones "}], "slug": "Web/JavaScript/Guide/Funciones", "review_tags": ["editorial"]}