Welcome to the 30 Days LeetCode JavaScript Study Plan! In this repository, you'll find solutions for various coding challenges, each corresponding to a day of the study plan.
Day 1: Create Hello World Function
Implement a basic function that prints "Hello, World!" to the console.
Day 2: Counter
Create a counter function that increments a count on each call.
Day 3: To Be Or Not To Be
Explore the concept of truthy and falsy values in JavaScript.
Day 4: Counter 2
Enhance the counter function to accept an initial value and allow decrementing.
Implement a function that applies a provided transform function to each element of an array.
Day 6: Filter Elements from Array
Create a function that filters elements from an array based on a given condition.
Day 7: Array Reduce Transformation
Learn how to use the reduce
function to transform an array into a single value.
Day 8: Function Composition
Explore function composition by chaining multiple functions together.
Day 9: Function Composition
Learn about rest parameter.
Day 10: Allow one Function Call
Use a closure to store the state of the returned function.
Day 11: Memorize
Learn about Memoized Function & Caching
Day 12: Add Two Promises
Learn about Promise.all
method
Day 13: Sleep
Create an Asynchronous function
that sleeps for millis milliseconds
Day 14: Time Out Cancellation
Learn about clearTimeout
method
Day 15: Interval Cancellation
Implement the cancefn
Day 16: Promise Time Limit
Implement a time limited function
Day 17: Cache with Time Limit
Learn about the use of set
, get
, count
and remove
methods
Day 18: Debounce
Implementation of debounce
function
Function which simulates the behavior of JavaScript's built-in Promise.all()
Day 20: Is Object Empty
Function which checks if an object is empty
Understand the syntax and usage of arrow functions in JavaScript.
Learn about closures and how they enable encapsulation in JavaScript.
Learn about caching and how it can be used to improve performance.
Learn about the setTimeout and clearTimeout functions.
Learn about debouncing and how it can be used to improve performance.