Folders and files Β
Β
Β
Β
Β
Β
Β
Β
Β
Β
View all files
Repository files navigation Just Javascript - Javascript pollyfills and tricky questions.
π Array polly-fills like map, filter, forEach, reduce and flat
π Function polly-fills like .bind, .call & .apply
π Promise polly-fills like Promise.all(), .race(), .allSettled & more
π Async polly-fills like Async.parallel(executes tasks in parallel), Async series(executes tasks in series) & more
Interesting but useful functions to implement
π Implement currying function with example
π Implement the compose() function
π Implement the pipe() function
π Implement the debounce(Function, delay)
π Implement the throttle(Function, delay)
π Write a function that will memoize subsequent
calls to a function
π Write a method that will flatten an object into a single object.
π Write a method that will flatten an array into a 1D
array.
π Implement cloneDeep() function
Interesting patterns to implement
π Implement the publisher-subscriber pattern in javascript
π Implement Builder pattern with method chaining abilities
π Implement a class/function/utility which exhibits
an event dispatcher mechanism
π Design patterns like Singleton, factory pattern
π Attach a listener to an array which gets triggered
when an item is pushed into the array
π Learn about Prototypes and Prototype Interitance
π Learn about Hoisting
π Learn about call stack
π Learn about closures
π Learn about this keyword
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You canβt perform that action at this time.