JavaScript Interview Prep: Functions, Closures, Currying

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=tbqVqP5ilzQ



Duration: 1:29:03
70,322 views
2,594


Prepare for JavaScript interview questions focusing on closures, functions, and currying. Throughout the course, you'll delve into various aspects of JavaScript, such as function declarations, expressions, scopes, and hoisting, as well as learning about advanced concepts like closures and lexical scope. You'll also gain a deeper understanding of currying and its practical applications in JavaScript.

Course created by @RoadsideCoder

Useful Links mentioned in the video -
🎥 var, let and const Video - https://www.youtube.com/watch?v=oUWRxJ19gfE&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5
🎥 map, filter, and reduce Video - https://www.youtube.com/watch?v=dGq0gi0wv64&list=PLKhlp2qtUcSaCVJEt4ogEFs6I41pNnMU5&index=2
🎥 FE Interview Experience Video - https://www.youtube.com/watch?v=vxggZffOqek&list=PLKhlp2qtUcSb_WQZC3sq9Vw3NC4DbreUL&index=1

⭐️ Contents ⭐️
⌨️ (0:00:00) Intro
⌨️ (0:01:48) Function Declaration
⌨️ (0:02:13) Function Expression
⌨️ (0:02:34) Anonymous Function
⌨️ (0:03:25) First Class Functions
⌨️ (0:04:54) What is IIFE?
⌨️ (0:06:05) IIFE - Interview Question
⌨️ (0:06:59) Closures
⌨️ (0:07:27) Function Scopes
⌨️ (0:09:10) Function Scope - Interview Question
⌨️ (0:10:18) Hoisting in Functions
⌨️ (0:13:40) Hoisting - Interview Question
⌨️ (0:15:46) Params vs Arguments
⌨️ (0:16:25) Spread vs Rest Operators
⌨️ (0:17:43) Interview Question on params, args, spread, rest
⌨️ (0:19:03) Callback Function
⌨️ (0:20:02) Callback Function - Interview Questions
⌨️ (0:20:58) Arrow Functions
⌨️ (0:21:59) Arrow function vs Normal Function
⌨️ (0:25:13) Closures
⌨️ (0:25:50) What is Lexical Scope?
⌨️ (0:27:39) Lexical Scope - Interview Question
⌨️ (0:28:53) What is Closure?
⌨️ (0:29:44) Example of Closures
⌨️ (0:30:57) Why Closure?
⌨️ (0:32:20) Closure Scope Chain
⌨️ (0:35:13) Ques 1 - What will it print?
⌨️ (0:37:10) Ques 2 - Write a function for this
⌨️ (0:39:29) Ques 3 - Time Optimisation with Closures
⌨️ (0:42:08) Ques 4 - setTimeout + block scope with Closures
⌨️ (0:47:08) Ques 5 - Create a private counter
⌨️ (0:49:49) Ques 6 - What is Module Pattern?
⌨️ (0:51:40) Ques 7 - Make this run only once
⌨️ (0:54:18) Ques 8 - Once Polyfill Implementation
⌨️ (0:58:11) Ques 9 - Memoise/Caching Implementation
⌨️ (1:03:46) Ques 10 - Closure vs Scope
⌨️ (1:04:25) Currying
⌨️ (1:04:55) What is Curring in Javascript?
⌨️ (1:05:23) Example of Currying
⌨️ (1:08:17) Ques 1 - Implement sum(2)(6)(1)
⌨️ (1:11:02) Ques 2 - Reusing Variable for logic
⌨️ (1:14:09) Ques 3 - Infinite Currying
⌨️ (1:18:27) Ques 4 - Currying vs Partial Application
⌨️ (1:20:37) Ques 5 - Manipulating DOM
⌨️ (1:23:01) Ques 6 - curry() implementation




Other Videos By freeCodeCamp.org


2023-05-11Go Programming – Golang Course with Bonus Projects
2023-05-10Functional Programming with Elixir – Full Course
2023-05-09SQL Tutorial for Beginners (and Technical Interview Questions Solved)
2023-05-04.NET MAUI Course for Beginners – Create Cross-Platform Apps with C#
2023-05-03Machine Learning Foundations Course – Regression Analysis
2023-05-01Harvard CS50’s Introduction to Programming with Python – Full University Course
2023-04-27Scrapy Course – Python Web Scraping for Beginners
2023-04-26Build a Simple Website with HTML, CSS, JavaScript – Course for Beginners
2023-04-25Zustand React State Management Course (Simple Redux Alternative)
2023-04-24React Router 6 – Full Course
2023-04-20JavaScript Interview Prep: Functions, Closures, Currying
2023-04-19ChatGPT Course – Use The OpenAI API to Code 5 Projects
2023-04-18Godot Game Development – Crash Course for Beginners
2023-04-17No Black Box Machine Learning Course – Learn Without Libraries
2023-04-13Build a LinkedIn Clone with React and Firebase – Tutorial
2023-04-12Firebase Tutorial for Beginners – Build a Mobile App with HTML, CSS, JavaScript
2023-04-11Bash Scripting Tutorial for Beginners
2023-04-10React Native Course – Android and iOS App Development
2023-04-06Advanced C# – LINQ Tutorial
2023-04-05Personal Website Tutorial with Next.js 13, Sanity.io, TailwindCSS, and TypeScript
2023-04-04Frontend Web Development: In-Depth Project Tutorial (HTML, CSS, JavaScript, TypeScript, React)