code snippet #1 What will be the output? #javascript #reactjs

preview_player
Показать описание
code snippet1
Рекомендации по теме
Комментарии
Автор

Because I guess the js compiler first just allocates memory and that time it hits the console and prints that undefined

mdareebuddin
Автор

Definiste la x después de imprimirla en la función

GetRekt__YT