Software Development

JavaScript Interview Prep: Functions, Closures, Currying



Prepare for JavaScript interview questions specializing in closures, features, and currying. All through the course, you will delve into numerous facets of JavaScript, resembling perform declarations, expressions, scopes, and hoisting, in addition to studying about superior ideas like closures and lexical scope. You will additionally achieve a deeper understanding of currying and its sensible purposes in JavaScript.

Thank you for reading this post, don't forget to subscribe!

Course created by @RoadsideCoder

Helpful Hyperlinks talked about within the video –
🎥 var, let and const Video –
🎥 map, filter, and scale back Video –
🎥 FE Interview Expertise Video –

⭐️ Contents ⭐️
⌨️ (0:00:00) Intro
⌨️ (0:01:48) Perform Declaration
⌨️ (0:02:13) Perform Expression
⌨️ (0:02:34) Nameless Perform
⌨️ (0:03:25) First Class Functions
⌨️ (0:04:54) What’s IIFE?
⌨️ (0:06:05) IIFE – Interview Query
⌨️ (0:06:59) Closures
⌨️ (0:07:27) Perform Scopes
⌨️ (0:09:10) Perform Scope – Interview Query
⌨️ (0:10:18) Hoisting in Functions
⌨️ (0:13:40) Hoisting – Interview Query
⌨️ (0:15:46) Params vs Arguments
⌨️ (0:16:25) Unfold vs Relaxation Operators
⌨️ (0:17:43) Interview Query on params, args, unfold, relaxation
⌨️ (0:19:03) Callback Perform
⌨️ (0:20:02) Callback Perform – Interview Questions
⌨️ (0:20:58) Arrow Functions
⌨️ (0:21:59) Arrow perform vs Regular Perform
⌨️ (0:25:13) Closures
⌨️ (0:25:50) What’s Lexical Scope?
⌨️ (0:27:39) Lexical Scope – Interview Query
⌨️ (0:28:53) What’s Closure?
⌨️ (0:29:44) Instance of Closures
⌨️ (0:30:57) Why Closure?
⌨️ (0:32:20) Closure Scope Chain
⌨️ (0:35:13) Ques 1 – What is going to it print?
⌨️ (0:37:10) Ques 2 – Write a perform 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 personal counter
⌨️ (0:49:49) Ques 6 – What’s Module Sample?
⌨️ (0:51:40) Ques 7 – Make this run solely as soon as
⌨️ (0:54:18) Ques 8 – As soon as 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’s Curring in Javascript?
⌨️ (1:05:23) Instance 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 Software
⌨️ (1:20:37) Ques 5 – Manipulating DOM
⌨️ (1:23:01) Ques 6 – curry() implementation

source