Skip to content

ArjobanSingh/Just-Javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Just Javascript - Javascript pollyfills and tricky questions.

Pollyfills:

  • πŸ‘‰ 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

Misc:

  • πŸ‘‰ 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

Releases

No releases published

Packages

 
 
 

Contributors