--- title: Guía de JavaScript slug: Web/JavaScript/Guide tags: - Guía - JavaScript - 'l10n:priority' translation_of: Web/JavaScript/Guide --- <div>{{jsSidebar("JavaScript Guide")}}</div> <p class="summary">La Guía de JavaScript te muestra cómo usar {{JSxRef("../../JavaScript", "JavaScript")}} y te brinda una perspectiva general del lenguaje. Si necesitas información exhaustiva sobre una característica del lenguaje, consulta la {{JSxRef("../Referencia", "Referencia de JavaScript")}}.</p> <h2 id="Capítulos">Capítulos</h2> <p>Esta guía se divide en varios capítulos:</p> <ul class="card-grid"> <li><span>{{JSxRef("../Guide/Introducción", "Introducción")}}</span> <p>{{JSxRef("../Guide/Introducción", "Acerca de esta guía", "#Donde_encontrar_informacion_sobre_JavaScript")}}<br> {{JSxRef("../Guide/Introducción", "Acerca de JavaScript", "#Que_es_JavaScript")}}<br> {{JSxRef("../Guide/Introducción", "JavaScript y Java", "#JavaScript_y_Java")}}<br> {{JSxRef("../Guide/Introducción", "ECMAScript", "#JavaScript_y_la_especificacion_ECMAScript")}}<br> {{JSxRef("../Guide/Introducción", "Herramientas", "#Como_empezar_con_JavaScript")}} {{JSxRef("../Guide/Introducción", "Hola, Mundo", "#Hola_mundo")}}</p> </li> <li><span>{{JSxRef("../Guide/Grammar_and_types", "Gramática y tipos")}}</span> <p>{{JSxRef("../Guide/Grammar_and_types", "Sintaxis básica y comentarios", "#Conceptos_basicos")}}<br> {{JSxRef("../Guide/Grammar_and_types", "Declaración de variables", "#Declaraciones")}}<br> {{JSxRef("../Guide/Grammar_and_types", "Ámbito de variables", "#Ambito_de_variables")}}<br> {{JSxRef("../Guide/Grammar_and_types", "Elevación de variables (hoisting)", "Elevacion_de_variables")}}<br> {{JSxRef("../Guide/Grammar_and_types", "Estructuras y tipos de datos", "#Estructuras_y_tipos_de_datos")}}<br> {{JSxRef("../Guide/Grammar_and_types", "Literales", "#Literales")}}</p> </li> <li><span>{{JSxRef("../Guide/Control_de_flujo_y_manejo_de_errores", "Control de flujo y manejo de errores")}}</span> <p>{{JSxRef("../Guide/Control_de_flujo_y_manejo_de_errores", "if...else", "#delacacion_if...else")}}<br> {{JSxRef("../Guide/Control_de_flujo_y_manejo_de_errores", "switch", "#declaracion_switch")}}<br> {{JSxRef("../Guide/Control_de_flujo_y_manejo_de_errores", "try/catch/throw", "Declaraciones_para_el_manejo_de_excepciones")}}<br> {{JSxRef("../Guide/Control_de_flujo_y_manejo_de_errores", "Objetos Error", "#Utilizar_objetos_error")}}</p> </li> <li><span>{{JSxRef("../Guide/Bucles_e_iteracion", "Bucles e iteración")}}</span> <p>{{JSxRef("../Guide/Bucles_e_iteracion", "for", "#instruccion_for")}}<br> {{JSxRef("../Guide/Bucles_e_iteracion", "while", "#instruccion_while")}}<br> {{JSxRef("../Guide/Bucles_e_iteracion", "do...while", "#instruccion_do...while")}}<br> {{JSxRef("../Guide/Bucles_e_iteracion", "break", "#instruccion_break")}}/{{JSxRef("../Guide/Bucles_e_iteracion", "continue", "#instruccion_continue")}}<br> {{JSxRef("../Guide/Bucles_e_iteracion", "for..in", "#instruccion_for...in")}}<br> {{JSxRef("../Guide/Bucles_e_iteracion", "for..of", "#instruccion_for...of")}}</p> </li> </ul> <ul class="card-grid"> <li><span>{{web.link("/es/docs/Web/JavaScript/Guide/Functions", "Funciones")}}</span> <p>{{JSxRef("../Guide/Funciones", "Definir funciones", "#Definir_funciones")}}<br> {{JSxRef("../Guide/Funciones", "Llamar funciones", "#Llamar_funciones")}}<br> {{JSxRef("../Guide/Funciones", "Ámbito de una función", "#Ambito_de_una_funcion")}}<br> {{JSxRef("../Guide/Funciones", "Cierres", "#Cierres")}}<br> {{JSxRef("../Guide/Funciones", "Argumentos", "#Utilizar_el_objeto_arguments")}} y {{JSxRef("../Guide/Funciones", "parámetros", "#Utilizar_parametros_de_funcion")}}<br> {{JSxRef("../Guide/Funciones", "Funciones flecha", "#Funciones_flecha")}}</p> </li> <li><span>{{JSxRef("../Guide/Expressions_and_Operators", "Expresiones y operadores")}}</span> <p>{{JSxRef("../Guide/Expressions_and_Operators", "Asignación", "#Operadores_de_asignacion")}} y {{JSxRef("../Guide/Expressions_and_Operators", "Comparación", "#Operadores_de_comparacion")}}<br> {{JSxRef("../Guide/Expressions_and_Operators", "Operadores aritméticos", "#Operadores_aritmeticos")}}<br> {{JSxRef("../Guide/Expressions_and_Operators", "Operadores lógicos", "#Operadores_logicos")}} y {{JSxRef("../Guide/Expressions_and_Operators", "a nivel de bits", "#Operadores_bit_a_bit")}}<br> {{JSxRef("../Guide/Expressions_and_Operators", "Operador condicional (ternario)", "#Operador_condicional_ternario")}}</p> </li> <li><span>{{JSxRef("../Guide/Numbers_and_dates", "Números y fechas")}}</span>{{JSxRef("../Guide/Numbers_and_dates", "Números literales", "#Numeros")}} <p>{{JSxRef("../Guide/Numbers_and_dates", "Objeto Number", "#El_objeto_Number")}}<br> {{JSxRef("../Guide/Numbers_and_dates", "Objeto Math", "#El_objeto_Math")}}<br> {{JSxRef("../Guide/Numbers_and_dates", "Objeto Date", "#El_objeto_Date")}}</p> </li> <li><span>{{JSxRef("../Guide/Text_formatting", "Formateo de texto")}}</span> <p>{{JSxRef("../Guide/Text_formatting", "Cadenas literales", "#Cadenas_literales")}}<br> {{JSxRef("../Guide/Text_formatting", "Objeto String", "#Objetos_string")}}<br> {{JSxRef("../Guide/Text_formatting", "Plantillas literales", "#Plantillas_literales_multilinea")}}<br> {{JSxRef("../Guide/Text_formatting", "Internacionalización", "#Internacionalizacion")}}<br> {{JSxRef("../Guide/Regular_Expressions", "Expresiones Regulares")}}</p> </li> </ul> <ul class="card-grid"> <li><span>{{JSxRef("../Guide/Regular_Expressions", "Colecciones indexadas")}}</span> <p>{{JSxRef("../Guide/colecciones_indexadas", "Arreglos", "#El_objeto_Array")}}<br> {{JSxRef("../Guide/colecciones_indexadas", "Arreglos tipados", "#Arrays_tipados")}}</p> </li> <li><span>{{JSxRef("../Guide/Keyed_collections", "Colecciones con clave")}}</span> <p>{{JSxRef("../Guide/Keyed_collections", "Mapa", "#Objeto_map")}}<br> {{JSxRef("../Guide/Keyed_collections", "WeakMap", "#El_objeto_WeakMap")}}<br> {{JSxRef("../Guide/Keyed_collections", "Set", "#El_objeto_Set")}}<br> {{JSxRef("../Guide/Keyed_collections", "WeakSet", "#El_objeto_WeakSet")}}</p> </li> <li><span>{{JSxRef("../Guide/Trabajando_con_objectos", "Trabajar con objetos")}}</span> <p>{{JSxRef("../Guide/Trabajando_con_objectos", "Objetos y propiedades", "#Objetos_y_propiedades")}}<br> {{JSxRef("../Guide/Trabajando_con_objectos", "Creación de objetos", "#Creacion_de_objetos")}}<br> {{JSxRef("../Guide/Trabajando_con_objectos", "Definición de métodos", "#Definicion_de_metodos")}}<br> {{JSxRef("../Guide/Trabajando_con_objectos", "Captadores —getter— y establecedores —setter—", "#Definicion__de_captadores_getters_y_establecedores_setters")}} </p> </li> <li><span>{{JSxRef("../Guide/Details_of_the_Object_Model", "Detalles del modelo de objetos")}}</span> <p>{{JSxRef("../Guide/Details_of_the_Object_Model", "Programación Orientada a Objetos basada en prototipos", "#Lenguajes_basados_en_clases_vs._basados_en_prototipos")}}<br> {{JSxRef("../Guide/Details_of_the_Object_Model", "Crear jerarquía de objetos", "#Creacion_de_la_jerarquia")}}<br> {{JSxRef("../Guide/Details_of_the_Object_Model", "Herencia", "#Herencia_de_propiedades_revisada")}}</p> </li> </ul> <ul class="card-grid"> <li><span>{{JSxRef("../Guide/Usar_promesas", "Promesas")}}</span> <p>{{JSxRef("../Guide/Usar_promesas", "Garantías", "#Garantias")}}<br> {{JSxRef("../Guide/Usar_promesas", "Encadenamiento", "#Encadenamiento")}}<br> {{JSxRef("../Guide/Usar_promesas", "Propagación de errores", "#Propagacion_de_errores")}}<br> {{JSxRef("../Guide/Usar_promesas", "Composición", "#Composicion")}}<br> {{JSxRef("../Guide/Usar_promesas", "Temporizador", "#Temporizador")}}</p> </li> <li><span>{{JSxRef("../Guide/Iterators_and_Generators", "Iteradores y generadores")}}</span> <p>{{JSxRef("../Guide/Iterators_and_Generators", "Iteradores", "#Iteradores")}}<br> {{JSxRef("../Guide/Iterators_and_Generators", "Iterables", "#Iterables")}}<br> {{JSxRef("../Guide/Iterators_and_Generators", "Generadores", "#Generadores")}}</p> </li> <li><span>{{JSxRef("../Guide/Meta_programming", "Metaprogramación")}}</span> <p>{{JSxRef("../Guide/Meta_programming", "Proxy", "#Proxies")}}<br> {{JSxRef("../Guide/Meta_programming", "Controladores y trampas", "#Controladores_y_trampas")}}<br> {{JSxRef("../Guide/Meta_programming", "Proxy revocable", "#Proxy_revocable")}}<br> {{JSxRef("../Guide/Meta_programming", "Reflexión", "#Reflexion")}}</p> </li> <li><span>{{JSxRef("../Guide/Modules", "Módulos JavaScript")}}</span> <p>{{JSxRef("../Guide/Modules", "Exportar", "#Exportar_caracteristicas_del_modulo")}}<br> {{JSxRef("../Guide/Modules", "Importar", "#Importacion_de_caracteristicas_en_tu_script")}}<br> {{JSxRef("../Guide/Modules", "Exportaciones predeterminadas", "#Exportaciones_predeterminadas_vs._exportaciones_con_nombre")}}<br> {{JSxRef("../Guide/Modules", "Cambio de nombre de funciones", "#Renombrar_importaciones_y_exportaciones")}}<br> {{JSxRef("../Guide/Modules", "Carga estática de módulos", "#Carga_estatica_de_modulos")}}<br> {{JSxRef("../Guide/Modules", "Carga dinámica de módulos", "#Carga_dinamica_de_modulos")}}</p> </li> </ul> <p>{{Next("Web/JavaScript/Guide/Introduction")}}</p>