Get a month of TabletWise Pro for free! Click here to redeem 
TabletWise.com
 

What’s the Difference Between Scope and Context in JavaScript?

Understanding the difference between Scope and Context will help you to write cleaner, more maintainable code and save you time when troubleshooting problems.

What’s the Difference Between Scope and Context in JavaScript?

Understanding the difference between Scope and Context will help you to write cleaner, more maintainable code and save you time when troubleshooting problems.
16
Views
1:43:30
Share the link to this class
Copied
One-time Purchase
$99.99
List Price:  $139.99
You save:  $40.00
₹7,499.25
List Price:  ₹10,499.25
You save:  ₹3,000.00
€99.99
List Price:  €139.99
You save:  €40.00
£99.99
List Price:  £139.99
You save:  £40.00
CA$99.99
List Price:  CA$139.99
You save:  CA$40.00
$99.99
List Price:  $139.99
You save:  $40.00
NZ$99.99
List Price:  NZ$139.99
You save:  NZ$40.00
S$99.99
List Price:  S$139.99
You save:  S$40.00
CHF99.99
List Price:  CHF139.99
You save:  CHF40.00
HK$999.90
List Price:  HK$1,399.90
You save:  HK$400.00
kr999.90
List Price:  kr1,399.90
You save:  kr400.00
kr999.90
List Price:  kr1,399.90
You save:  kr400.00
د.إ399.96
List Price:  د.إ559.96
You save:  د.إ160.00
R1,499.85
List Price:  R2,099.85
You save:  R600.00
৳2,499.75
List Price:  ৳3,499.75
You save:  ৳1,000.00
RM149.98
List Price:  RM209.98
You save:  RM60.00
₨4,499.55
List Price:  ₨6,299.55
You save:  ₨1,800.00
₱1,499.85
List Price:  ₱2,099.85
You save:  ₱600.00
₦9,999.00
List Price:  ₦13,999.00
You save:  ₦4,000.00
฿2,999.70
List Price:  ฿4,199.70
You save:  ฿1,200.00
₺699.93
List Price:  ₺979.93
You save:  ₺280.00

What's included in the class?

 32 video lessons

About the Class

Scope and Context are two fundamental concepts in JavaScript, and they are not the same thing.

Understanding the difference between Scope and Context will help you to write cleaner, more maintainable code and save you time when troubleshooting problems.

Following topics are covered in the course:

  1. Introduction - Welcome!
  2. Why is it so essential to understand the difference between Scope and Context?
  3. What is the difference between Scope and Context?
  4. Required software
  5. Get set up
  6. Where to find the example code
  7. Scope Details - Three Kinds of Scope
  8. Global Scope - Discussion
  9. Global Scope - Demonstration
  10. Private Scope - Discussion
  11. Private Scope - Demonstration
  12. Block Scope - Discussion
  13. Block Scope - Demonstration
  14. Context - Discussion
  15. When They "feel" the Same - Discussion
  16. When They "feel" the Same - Code - Part 1
  17. When They "feel" the Same - Code - Part 2
  18. When They "feel" the Same - Code - Part 3
  19. When They "feel" the Same - Code - Part 4
  20. When They "feel" the Same - Code - Part 5
  21. When They "feel" the Same - Code - Part 6\
  22. Making Better Decisions - Discussion
  23. Making Better Decisions - Demonstration
  24. A Bit More About Context
  25. Switching Context with .call() & .apply()
  26. Method Chaining - Discussion
  27. Method Chaining - Demonstration
  28. "this" vs $(this)
  29. A Bit More About Troubleshooting
  30. Troubleshooting a Scope Problem
  31. Troubleshooting a Context Problem
  32. Class Project
  33. Thank You!

I am looking forward to having you in this course!

Class Authors

Kevin Chisholm

Sr. JavaScript, Angular, Node Consultant
Share the instructor profile
Copied
I am a Web Developer focused on object-oriented JavaScript, Angular.js & Node.js. I have provided services to titles such as ConsumerReports.org, MyRecipes.com, ThisOldHouse.com, Instyle.com, AllYou.com, TravelAndLeisure.com, SouthernLiving.com, Health.com, Sunset.com, TimeForKids.com, SportIllustrated.com, CoastalLiving.com, People.com,...
0
Saves
16
Views
This class has not been saved

Sign Up