JavaScript Interview Prep: Functions, Closures, Currying

JavaScript Interview Prep: Functions, Closures, Currying

freeCodeCamp.org via freeCodeCamp Direct link

⌨️ Ques 5 - Create a private counter

31 of 45

31 of 45

⌨️ Ques 5 - Create a private counter

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

JavaScript Interview Prep: Functions, Closures, Currying

Automatically move to the next video in the Classroom when playback concludes

  1. 1 ⌨️ Intro
  2. 2 ⌨️ Function Declaration
  3. 3 ⌨️ Function Expression
  4. 4 ⌨️ Anonymous Function
  5. 5 ⌨️ First Class Functions
  6. 6 ⌨️ What is IIFE?
  7. 7 ⌨️ IIFE - Interview Question
  8. 8 ⌨️ Closures
  9. 9 ⌨️ Function Scopes
  10. 10 ⌨️ Function Scope - Interview Question
  11. 11 ⌨️ Hoisting in Functions
  12. 12 ⌨️ Hoisting - Interview Question
  13. 13 ⌨️ Params vs Arguments
  14. 14 ⌨️ Spread vs Rest Operators
  15. 15 ⌨️ Interview Question on params, args, spread, rest
  16. 16 ⌨️ Callback Function
  17. 17 ⌨️ Callback Function - Interview Questions
  18. 18 ⌨️ Arrow Functions
  19. 19 ⌨️ Arrow function vs Normal Function
  20. 20 ⌨️ Closures
  21. 21 ⌨️ What is Lexical Scope?
  22. 22 ⌨️ Lexical Scope - Interview Question
  23. 23 ⌨️ What is Closure?
  24. 24 ⌨️ Example of Closures
  25. 25 ⌨️ Why Closure?
  26. 26 ⌨️ Closure Scope Chain
  27. 27 ⌨️ Ques 1 - What will it print?
  28. 28 ⌨️ Ques 2 - Write a function for this
  29. 29 ⌨️ Ques 3 - Time Optimisation with Closures
  30. 30 ⌨️ Ques 4 - setTimeout + block scope with Closures
  31. 31 ⌨️ Ques 5 - Create a private counter
  32. 32 ⌨️ Ques 6 - What is Module Pattern?
  33. 33 ⌨️ Ques 7 - Make this run only once
  34. 34 ⌨️ Ques 8 - Once Polyfill Implementation
  35. 35 ⌨️ Ques 9 - Memoise/Caching Implementation
  36. 36 ⌨️ Ques 10 - Closure vs Scope
  37. 37 ⌨️ Currying
  38. 38 ⌨️ What is Curring in Javascript?
  39. 39 ⌨️ Example of Currying
  40. 40 ⌨️ Ques 1 - Implement sum261
  41. 41 ⌨️ Ques 2 - Reusing Variable for logic
  42. 42 ⌨️ Ques 3 - Infinite Currying
  43. 43 ⌨️ Ques 4 - Currying vs Partial Application
  44. 44 ⌨️ Ques 5 - Manipulating DOM
  45. 45 ⌨️ Ques 6 - curry implementation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.