Currying is the technique of evaluating a function with multiple arguments, into evaluating a sequence of functions with single argument. That is partial application.
In other words, currying refers a process of breaking down a function that takes n arguments into n functions that each take single argument. Continue reading →

Overview Browsers use single thread for JavaScript and UI. So synchronous JavaScript calls will block this thread, thus rendering will be blocked. For example, if our website needs to do UI events, fetch and process large amount of API data and manipulate DOM. It is not possible do all these simultaneously since the script execution … Continue reading →

Overview IndexedDB is an API for storing significant amounts of structured data in user’s browser. It helps to do high performance searches using indexes. The data stored in IndexedDB is persistent and work in online and offline. It provides both a synchronous and an asynchronous API. In practice, however, all current implementations are asynchronous, and … Continue reading →

Overview There are of different ways to store data from website into your local machine, more specifically in your browsers. Most commonly used and traditional way is store data into cookies. There is some limitations and drawbacks are there when using cookies, some of them are, Cookies are limited to about 4 KB of data. … Continue reading →

Handlebars.js is a Logic-less template engine for JavaScript. When we need an application with frequently updating view, template engine has to play big role. It keep you HTML pages simple, clean and decouples from logic based JavaScript files. Also reduce effort by reducing loops with native JavaScript. It is also possible to precompile your … Continue reading →

Facebook launches a new JavaScript static type checker, designed to find type errors in JavaScript programs. Check Official site http://flowtype.org/ As its documentation says, “The goal of Flow is to find errors in JavaScript code with little programmer effort. Flow relies heavily on type inference to find type errors even when the program has not … Continue reading →