Estructuras de control
1. Estructura if-else
if (condicion) {
// Bloque de código si la condición es verdadera
} else {
// Bloque de código si la condición es falsa
}2. Estructura switch
3. Estructura while
4. Estructura do-while
5. Estructura for
6. Estructura for...in
7. Estructura for...of
8. Estructura try-catch
9. Estructura try-catch-finally
Last updated