Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
¿Qué es Hoisting en Javascript? la verdadera explicación que siempre quisiste
Play lesson

🧑‍💻 Curso de Javascript de 0 a NINJA🥷 - ¿Qué es Hoisting en Javascript? la verdadera explicación que siempre quisiste

4.0 (3)
25 learners

What you'll learn

This course includes

  • 8.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

🚀 JAVASCRIPT HOISTING - ROADMAP FRONTEND #4: DESMITIFICANDO EL CONCEPTO MÁL ENTENDIDO → Hoisting explicado correctamente: no es "mover código", es compilation phase, lexical environment y diferencias var vs let/const 📌 TIMESTAMPS 00:00:00 Welcome - Roadmap frontend video #4 00:00:40 Concepto inicial - Qué es realmente hoisting 00:01:20 Mala concepción - Por qué "mover código" está mal 00:02:00 Compilación e identificación - Memory allocation phase 00:02:15 Lexical environment - Donde viven las variables 00:03:24 Hoisting declaraciones - Solo declarations, no initializations 00:03:54 Tipos hoisteables - Var, let, const, functions 00:04:12 Hoisting con var - Undefined initialization 00:05:05 Hoisting con const/let - Temporal dead zone 00:07:18 Despedida - Próximo video roadmap 📯 QUÉ VAS A APRENDER - **Hoisting real** - No es "mover código arriba", es memory allocation en compilation phase - **Lexical environment** - Donde JavaScript engine almacena variable declarations - **Var vs let/const** - Diferentes behaviors: undefined vs temporal dead zone - **Common misconceptions** - Por qué la mayoría explica hoisting incorrectamente ━━━━━━━━━━━━━━━━━━━━━ 🎯 HOISTING DESMITIFICADO - EL CONCEPTO MÁS MAL EXPLICADO DE JAVASCRIPT 1️⃣ **MALA CONCEPCIÓN COMÚN** - Hoisting NO es "mover declaraciones al top". Es memory allocation durante compilation. 2️⃣ **COMPILATION PHASE** - JavaScript engine identifica declaraciones y aloca memoria ANTES de execution. 3️⃣ **LEXICAL ENVIRONMENT** - Estructura donde se almacenan variable bindings durante creation phase. 4️⃣ **VAR HOISTING** - Variables declaradas con var se inicializan con undefined durante hoisting. 5️⃣ **LET/CONST HOISTING** - También se hoistean pero quedan en temporal dead zone hasta su declaration line. 6️⃣ **PRACTICAL IMPLICATIONS** - Por qué entender hoisting correctamente previene bugs y mejora debugging. **Dale que va** - Hoisting es simple cuando lo entendés correctamente. La confusión viene de explicaciones incorrectas. ━━━━━━━━━━━━━━━━━━━━━ 📦 RECURSOS Y COMUNIDAD - **Mi libro**: "Cómo ser front-end sin fallar en el intento" → https://amzn.to/2ReBuzL - **Discord community**: https://discord.gg/gxQCPMZGjP - **Facebook group**: https://shorturl.at/jkmL6 - **Podcast**: https://spoti.fi/3y281cY - **Donaciones**: https://streamelements.com/gentlemanprogramming/tip ━━━━━━━━━━━━━━━━━━━━━ ☁️ DONWEB CLOUD SERVER - SPONSOR Infra self-service con la mejor relación precio-potencia → Escalabilidad vertical y horizontal automática → Alta disponibilidad y redundancia incluida → Planes exclusivos para la comunidad 🎯 Descuentos exclusivos: https://donweb.com/gentleman ━━━━━━━━━━━━━━━━━━━━━ 🤑 DESCUENTOS EXCLUSIVOS 🪑 Standing Desk MAIDESITE - 10% OFF → https://maidesite.es/iaxpghpvhf → Código KEGP60 = 60€ descuento extra! 💻 CodeCrafters - Challenges reales → https://app.codecrafters.io/join?via=GentlemanProgramming 🎧 Linsoul Audio → https://www.linsoul.com/GentlemanProgramming ━━━━━━━━━━━━━━━━━━━━━ 📺 DONDE ENCONTRARME - Twitch: https://twitch.tv/gentleman_programming - Canal VODS: https://youtube.com/@GentlemanVods - Kick: https://kick.com/gentleman-programming - Todos mis links: https://doras.to/gentleman-programming ━━━━━━━━━━━━━━━━━━━━━ 💼 COLABORACIONES Y NEGOCIOS Email: [email protected] 🎬 EDICIÓN Editor: Cristian Email: [email protected] Discord: Cristian1812 ━━━━━━━━━━━━━━━━━━━━━ 👨‍💻 SOBRE ESTE CANAL Contenido técnico sin relleno para developers que buscan crecer de verdad. Arquitectura, clean code, y las herramientas que realmente importan en el mundo real. Suscribite y activá la campanita 🔔 #JavaScript #Hoisting #LexicalEnvironment #VarVsLet #TemporalDeadZone #Frontend #Roadmap #CompilationPhase #GentlemanProgramming

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere