Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

JavaScript Interview Prep: Functions, Closures, Currying

via freeCodeCamp

Overview

This course focuses on preparing for JavaScript interviews by covering closures, functions, and currying. By the end of the course, learners will have a deeper understanding of function declarations, expressions, scopes, hoisting, closures, lexical scope, and currying in JavaScript. The course teaches skills such as implementing closures, understanding lexical scope, and applying currying in practical scenarios. The teaching method includes video lectures with examples and interview questions. This course is intended for individuals preparing for JavaScript interviews or looking to enhance their understanding of advanced JavaScript concepts.

Syllabus

⌨️ Intro
⌨️ Function Declaration
⌨️ Function Expression
⌨️ Anonymous Function
⌨️ First Class Functions
⌨️ What is IIFE?
⌨️ IIFE - Interview Question
⌨️ Closures
⌨️ Function Scopes
⌨️ Function Scope - Interview Question
⌨️ Hoisting in Functions
⌨️ Hoisting - Interview Question
⌨️ Params vs Arguments
⌨️ Spread vs Rest Operators
⌨️ Interview Question on params, args, spread, rest
⌨️ Callback Function
⌨️ Callback Function - Interview Questions
⌨️ Arrow Functions
⌨️ Arrow function vs Normal Function
⌨️ Closures
⌨️ What is Lexical Scope?
⌨️ Lexical Scope - Interview Question
⌨️ What is Closure?
⌨️ Example of Closures
⌨️ Why Closure?
⌨️ Closure Scope Chain
⌨️ Ques 1 - What will it print?
⌨️ Ques 2 - Write a function for this
⌨️ Ques 3 - Time Optimisation with Closures
⌨️ Ques 4 - setTimeout + block scope with Closures
⌨️ Ques 5 - Create a private counter
⌨️ Ques 6 - What is Module Pattern?
⌨️ Ques 7 - Make this run only once
⌨️ Ques 8 - Once Polyfill Implementation
⌨️ Ques 9 - Memoise/Caching Implementation
⌨️ Ques 10 - Closure vs Scope
⌨️ Currying
⌨️ What is Curring in Javascript?
⌨️ Example of Currying
⌨️ Ques 1 - Implement sum261
⌨️ Ques 2 - Reusing Variable for logic
⌨️ Ques 3 - Infinite Currying
⌨️ Ques 4 - Currying vs Partial Application
⌨️ Ques 5 - Manipulating DOM
⌨️ Ques 6 - curry implementation

Taught by

freeCodeCamp.org

Reviews

Start your review of JavaScript Interview Prep: Functions, Closures, Currying

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.