Aliens School
Cinematic Knowledge Experience
0%
Aliens School
Now Playing
Aliens School ยท HIEN
โŒจ๏ธ Keyboard Shortcuts
โ†’Next slide โ†Previous slide SpacePlay / Pause MNarration on/off FFullscreen ?Show/hide this
Press any key to close
Skill Topic ยท Cinematic

๐Ÿ“˜ JS this Keyword โ€” Context Ka Raja! ๐Ÿ‘‘

this keyword JavaScript me ek aisa invisible pointer hai jo current execution context ko dikhataโ€ฆ

Overview
๐ŸŒŸ

๐Ÿ“˜ JS this Keyword โ€” Context Ka Raja! ๐Ÿ‘‘ โ€” Quick Facts

๐Ÿ“Œ

Interview Scenario ๐ŸŽค: JavaScript Ka this ๐Ÿ’ป

๐ŸŽฏ

"Aap" reception pe = Receptionist ๐Ÿข: this in global = window ๐ŸŒ

โšก

"Aap" interview room me = Candidate ๐Ÿšช: this in method = Object ๐Ÿ“ฆ

๐Ÿ”‘

Speaker phone se = Bahar wala sunta ๐Ÿ“ž: Arrow fn = Parent scope ka this โฌ†๏ธ

Topic 1
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

๐ŸŽฏ Real-World Analogy: Naukri Interview Panel & Candidate System ๐ŸŽค๐Ÿ’ผ

๐Ÿ“š Socho ek naukri interview chal raha hai jahan alag alag rooms me panels hain! this =โ€ฆ
Topic 2
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

๐Ÿ“Œ this Kya Hai? โ€” "Aap" Ka Matlab! ๐ŸŽค

๐Ÿ’ก ๐Ÿ’ก Key Concept: this = jo object currently method call kar raha hai! Jaise interview meโ€ฆ
Topic 3
๐Ÿ”’

๐Ÿ“Œ this in Global Scope โ€” Reception Desk ๐Ÿข

๐ŸŽฏ ๐Ÿข Reception pe koi specific candidate nahi โ€” to "aap" = receptionist (window)!โ€ฆ
Topic 4
โญ

๐Ÿ“Œ this in Regular Function โ€” Khaali Room! ๐ŸšชโŒ

โญ ๐Ÿšช Regular function = khaali interview room โ€” koi specific candidate assign nahi!โ€ฆ
Topic 5
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

๐Ÿ“Œ this in Object Method โ€” Interview Room! ๐Ÿšชโœ…

๐Ÿ”‘ ๐Ÿšช Object method = interview room me candidate baitha hai โ€” "aap" = candidate (object)!โ€ฆ
Topic 6
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

๐Ÿ“Œ this Problem โ€” Method Assignment = Candidate Bhaag Gaya! ๐Ÿƒ๐Ÿ’จ

โœจ โš ๏ธ Agar method ko variable me store karo โ€” candidate room se nikal gaya, ab "aap" kiskoโ€ฆ
Topic 7
โœจ

๐Ÿ“Œ this in Arrow Functions โ€” Speaker Phone! ๐Ÿ“ž

๐ŸŒŸ ๐Ÿ“ž Arrow function ka apna this NAHI hota โ€” parent room ka this sun raha hai speaker pe!โ€ฆ
Topic 8
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

๐Ÿ“Œ call(), apply(), bind() โ€” HR Ka Transfer Order! ๐Ÿ“‹

๐Ÿš€ ๐Ÿ“‹ HR decide karta hai ke candidate ko kis room me bhejein โ€” manually this set karo!โ€ฆ
Topic 9
๐Ÿ“ฅ ๐Ÿ“ฅ ๐Ÿง  ๐Ÿ”ฌ ๐Ÿ’ก ๐ŸŽฏ

๐Ÿ“Œ this in Constructor (new) โ€” Fresh Candidate Entry! ๐Ÿ†•

๐Ÿ“š ๐Ÿ†• new keyword = bilkul naya candidate aaya โ€” fresh empty profile banta hai! `javascriptโ€ฆ
Topic 10
๐Ÿ’ก ๐Ÿ“Š ๐Ÿ”ฌ

๐Ÿ“Œ this in Event Handlers โ€” Button Press! ๐Ÿ–ฑ๏ธ

๐Ÿ’ก ๐Ÿ–ฑ๏ธ Event handler me this = wo element jisne event trigger kiya โ€” jaise "aap" = jo buttonโ€ฆ
Topic 11
โœจ

๐Ÿ“Š Complete this Comparison Table โ€” Sab Ek Jagah! ๐Ÿ“‹

๐ŸŽฏ | Context ๐ŸŽค | this Value ๐Ÿ’ป | Analogy ๐Ÿ“‹ | |---|---|---| | Global (browser) | window ๐ŸŒ |โ€ฆ
Topic 12
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

โš ๏ธ Common Mistakes & Solutions โ€” Interview Galtiyan! ๐ŸŽคโŒ

โญ | # | โŒ Galat Tareeqa | โœ… Sahi Tareeqa | Kyun? ๐Ÿ’ก | |---|---|---|---| | 1 | Arrow fn asโ€ฆ
Topic 13
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

๐Ÿงช Practice Exercises โ€” Interview Preparation! ๐ŸŽค

๐Ÿ”‘ Exercise 1: Beginner ๐ŸŸข this Context Quiz: 5 alag scenarios likho (global, method, arrow,โ€ฆ
Topic 14
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

๐Ÿ“ Summary Table โ€” Quick Revision ๐ŸŽค

โœจ | Concept | Key Point | |---|---| | this global | window (browser) ๐ŸŒ | | this method |โ€ฆ
Comparison
โœจ

๐Ÿ“Š Complete this Comparison Table โ€” Sab Ek Jagah! ๐Ÿ“‹

โš–๏ธ

Global (browser): window ๐ŸŒ

โš–๏ธ

Global (strict): window ๐ŸŒ

โš–๏ธ

Regular function: window / undefinedโ€ฆ

Diagram
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

Visual Flow

๐Ÿ“Š Diagram visualization โ€” details in narration
Diagram
๐Ÿ“ฅ โš™๏ธ ๐Ÿ”ฌ ๐Ÿ’ก

Visual Flow

๐Ÿ“Š Diagram visualization โ€” details in narration
Quick Quiz
๐Ÿง  QUIZ TIME

Quiz โ€” Question 1

๐Ÿ“˜ JS this Keyword โ€” Context Ka Raja! ๐Ÿ‘‘ ka sabse sahi definition kya hai?

Quick Quiz
๐Ÿง  QUIZ TIME

Quiz โ€” Question 2

๐Ÿ“˜ JS this Keyword โ€” Context Ka Raja! ๐Ÿ‘‘ ka '"Aap" reception pe = Receptionist ๐Ÿข' kya hai?

Complete! ๐ŸŽ‰
COMPLETE

๐Ÿ“˜ JS this Keyword โ€” Context Ka Raja! ๐Ÿ‘‘ Complete!

Aliens School ยท HIEN ยท Cinematic Knowledge

โœ…

๐Ÿ“˜ JS this Keyword โ€” Context Ka Raja! ๐Ÿ‘‘ Complete

1/22
0:00
REC 00:00ESC=Cancel
Aliens School
3
Recording shuru hone wali hai...
โœ…
Recording Complete
Video process ho rahi hai...
Live Class
Slide 1 / 7
Timer
00:00
๐Ÿ“ Speaker Notes
โ€”
โญ๏ธ Up Next
โ€”
โ€”
๐Ÿ—‚๏ธ All Slides