-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Husan/js hoisting #8
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Husan, buni tushunishda manda anchagina savollar tug'ilyapti:
- Qaysi manbalardan foydalandingiz maqolani yozishda? Shularni menga yozib yuboring.
- Nega maqola nomi hoisting bo'lib declarations va Temporal Dead Zone haqida yozib ketgansiz. Agar hoisting'ni tushunish uchun avval bu atamalarni yaxshi tushunib olish kerak bo'lsa, shuni maqola boshida aytib ketganingiz ma'qul.
Maqolani yozishdan oldin bir qancha videolar ko'rib chiqdim va hoistingni o'rganishga harakat qildim. Manga yoqqanlari va eng ko'p foydalanganlarim https://www.youtube.com/watch?v=Fnlnw8uY6jo&t=863s , https://www.youtube.com/watch?v=ppMlvGMT2qE&t=9s , https://www.youtube.com/watch?v=cHyydUnsaWI shular. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Husan, bu yerda ancha o'zgarish qilish kerak, chamamda:
- Avvalambor, dastur JS'da qanday ishlashini yozishimiz kerak: avval parsing/compiling, keyin execution.
- Keyin Temporal Dead Zone'ga nega ehtiyoj borligini tushuntirish kerak: agar bu bo'lmasa, let va const ham var'day
undefined
chiqarardida.
Va keyin buning tepasida reja bo'lishi kerak hamda kirish qismi yozib: "biz hoistingni tushunishimiz uchun avval JS'da kod qanday bajarilishini ko'rib chiqishimiz kerak" deb tushuntirish berish kerak. Aks holda, o'quvchi sarlavha nimayu, nimadan gap boshlandi deb ikkilanadi.
Va yana: PR descriptionida qaysi manbalardan foydalanganingiz haqida yozib qoldiring bundan buyog'iga.
OK |
Oxirgi commit qilganimda mana bu maqoladan foydalandim |
Iltimos, bu qismda qaysi manbalardan foydalanganingiz haqida yozing (Bahriddin).