Skip to content

A collection of code snippets for learning various concepts in Javascript with ES6 standards

Notifications You must be signed in to change notification settings

thephenom1708/js-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Snippets for Functional Programming Concepts

A collection of code snippets for various concepts in Functional Prgramming and Frontend/UI Development using Javascript with ES6 standards.

Running Snippets on Local Environment


  1. Clone the repository on your local machine.
  2. Change working directory to this repository.
  3. If you do not have node installed on the system, you need to install it first. https://nodejs.org/en/download/
  4. To run any snippet, open the terminal hit the following command.
    node <snippet-dir-name>
    
    Example:
    // To run polyfill-bind snippet
    node polyfill-bind
    

Table of Contents


  1. Call, Apply and Bind functions in JS
  2. Pollyfill for bind function in JS
  3. Function Currying in JS
  4. Tail Call Optimisation with recursion (TCO)

About

A collection of code snippets for learning various concepts in Javascript with ES6 standards

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published