{"json_modified": "2015-10-10T08:56:26.614374", "slug": "Web/JavaScript/Referencia/Funciones/Parametros_por_defecto", "tags": [], "locale": "es", "title": "Par\u00e1metros por defecto", "translations": [{"title": "\u9ed8\u8ba4\u53c2\u6570\u503c", "url": "/zh-CN/docs/Web/JavaScript/Reference/Functions/Default_parameters", "tags": [], "summary": "\u5982\u679c\u4e00\u4e2a\u5f62\u53c2\u6ca1\u6709\u88ab\u4f20\u5165\u5bf9\u5e94\u7684\u5b9e\u53c2\u6216\u8005\u4f20\u5165\u4e86undefined
,\u5219\u8be5\u5f62\u53c2\u4f1a\u88ab\u8d4b\u4e00\u4e2a\u9ed8\u8ba4\u503c.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-04-29T06:55:04", "review_tags": []}, {"title": "Default parameters", "url": "/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters", "tags": ["Functions", "Experimental", "JavaScript", "ECMAScript6"], "summary": "Default function parameters allow formal parameters to be initialized with default values if no value or undefined
is passed.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-09-19T15:57:22", "review_tags": []}, {"title": "Valeurs par d\u00e9faut des arguments", "url": "/fr/docs/Web/JavaScript/Reference/Fonctions/Valeurs_par_d%C3%A9faut_des_arguments", "tags": ["Functions", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "Operator"], "summary": "Cette syntaxe permet d'initialiser des param\u00e8tres lors de l'appel de la fonction si la valeur pass\u00e9e est nulle (au sens o\u00f9 il n'y a aucune valeur de pass\u00e9e) ou undefined
.", "localization_tags": [], "locale": "fr", "last_edit": "2015-09-20T12:09:51", "review_tags": []}, {"title": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e", "url": "/ru/docs/Web/JavaScript/Reference/Functions/Default_parameters", "tags": ["ECMAScript6", "\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439", "\u0424\u0443\u043d\u043a\u0446\u0438\u0438", "JavaScript"], "summary": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e\u00a0\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u043d\u0438\u0445 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u00a0undefined
.", "localization_tags": [], "locale": "ru", "last_edit": "2014-11-16T11:04:44", "review_tags": ["editorial"]}, {"title": "Default parameters", "url": "/ja/docs/Web/JavaScript/Reference/Functions_and_function_scope/Default_parameters", "tags": ["ECMAScript6", "Experimental", "Functions", "Exp\u00e9rimental", "JavaScript"], "summary": "JavaScript\u3067\u306f\u3001 \u95a2\u6570\u306e\u5f15\u6570\u306f\u3001undefined
\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3068\u306a\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u9055\u3063\u305f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u3068\u601d\u3046\u3053\u3068\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u5f15\u6570\u304c\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-07-28T10:33:56", "review_tags": ["editorial"]}, {"title": "Par\u00e2metros Predefinidos", "url": "/pt-BR/docs/Web/JavaScript/Reference/Functions/Parametros_Predefinidos", "tags": ["ECMA2015", "Functions", "Fun\u00e7\u00e3o", "Fun\u00e7\u00f5es", "JavaScript", "ECMAScript6", "Function"], "summary": "Os par\u00e2metros predefinidos de uma fun\u00e7\u00e3o permitem que par\u00e2metros regulares sejam inicializados com com valores iniciais caso undefined ou nenhum valor seja passado.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-08-04T06:33:28", "review_tags": ["editorial"]}], "modified": "2015-10-10T08:56:24", "label": "Par\u00e1metros por defecto", "localization_tags": ["inprogress"], "url": "/es/docs/Web/JavaScript/Referencia/Funciones/Parametros_por_defecto", "last_edit": "2015-10-10T08:56:18", "summary": "Los\u00a0par\u00e1metros por defecto de una funci\u00f3n\u00a0permiten que los par\u00e1metros formales de la funci\u00f3n sean inicializados con valores por defecto si no se pasan valores o los valores pasados son undefined
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxis", "title": "Sintaxis"}, {"id": "Descripci\u00f3n", "title": "Descripci\u00f3n"}, {"id": "Ejemplos", "title": "Ejemplos"}, {"id": "Pasando_undefined", "title": "Pasando\u00a0"}, {"id": "Evaluado_al_momento_de_la_llamada", "title": "Evaluado al momento de la llamada"}, {"id": "Los_par\u00e1metros_por_defecto_est\u00e1n_disponibles_para_posteriores_par\u00e1metros_por_defecto", "title": "Los par\u00e1metros por defecto est\u00e1n disponibles para posteriores par\u00e1metros por defecto"}, {"id": "Funciones_definidas_dentro_del_cuerpo_de_una_funci\u00f3n", "title": "Funciones definidas dentro del cuerpo de una funci\u00f3n"}, {"id": "Par\u00e1metros_no_por_defecto_luego_de_par\u00e1metros_por_defecto", "title": "Par\u00e1metros no por defecto luego de par\u00e1metros por defecto"}, {"id": "Par\u00e1metro_destructurado_con_asignaci\u00f3n_de_valor_por_defecto", "title": "Par\u00e1metro destructurado\u00a0con asignaci\u00f3n de valor por defecto"}, {"id": "Especificaciones", "title": "Especificaciones"}, {"id": "Compatibilidad_con_navegadores", "title": "Compatibilidad con navegadores"}, {"id": "Vea_tambi\u00e9n", "title": "Vea tambi\u00e9n"}], "id": 163807, "review_tags": []}