Hoisting

/ˈhɔɪstɪŋ/ noun

Definition

A JavaScript behavior where variable and function declarations are moved to the top of their containing scope during compilation. This allows variables and functions to be used before they are declared in the code.

Etymology

From Middle Dutch 'hijsen' meaning to lift or raise up. The term was adopted in JavaScript to describe how declarations are conceptually 'lifted' to the top of their scope during the compilation phase.

Kelly Says

Hoisting is like JavaScript having a really helpful but sometimes confusing assistant who reads your entire script first and makes notes about all your variables at the top! This is why you can call a function before you define it, but it can also lead to surprising bugs with variables.

Translations

AMአማርኛ
ማንሳት
ARالعربية
رفع
BNবাংলা
উত্থোলন
CSČeština
zvedání
DADansk
hejsning
DEDeutsch
Hochziehen
ELΕλληνικά
ανέλκυση
ESEspañol
izar
FAفارسی
بالا بردن
FISuomi
nostaminen
FRFrançais
hissage
GUGU
ઉપાડવું
HAHA
ɗaga
HEעברית
הרמה
HIहिन्दी
उठाना
HUMagyar
emelés
IDBahasa Indonesia
mengangkat
IGIG
ibuli
ITItaliano
sollevamento
JA日本語
巻き上げ
KKKK
көтеру
KMKM
លើង
KO한국어
들어올림
MRMR
उंचावणे
MSBahasa Melayu
mengangkat
MYမြန်မာ
မြှင့်တင်ခြင်း
NLNederlands
hijsen
NONorsk
heising
PAPA
ਉੱਠਾਉਣਾ
PLPolski
podnoszenie
PTPortuguês
levantamento
RORomână
ridicare
RUРусский
поднятие
SVSvenska
hissning
SWKiswahili
kuinua
TAதமிழ்
தூக்குதல்
TEతెలుగు
ఎత్తడం
THไทย
ยก
TLTL
pag-angat
TRTürkçe
kaldırma
UKУкраїнська
піднімання
URاردو
اٹھانا
VITiếng Việt
nâng lên
YOYO
gige
ZH中文
提升
ZUZU
ukukhulula

Related Words

Explore More Words

Get the Word Orb API

Complete word intelligence in one call. Free tier — 50 lookups/day.