SIMILITUDES Y DIFERENCIAS ENTRE JAVASCRIPT Y
PYTHON
Condicionales:
Funciones
Validar datos
CLASES
BUCLE WHILE
BUCLE FOR
Nota: el bucle FOR tradicional es bastante diferente a python. Pero el “FOR OF” de JS es idéntico
al de Python.
FOR IN
FOR OF
OBJETOS LITERALES (JSON)
ARRAYS
MÉTODO .MAP() para Arrays
INPUT/PROMPT
TRY-CATCH (try-except)
IMPORTANDO PAQUETES/MÓDULOS EN NODE JS
Para heredar: