JavaScript / Programmings / Technologies

Currying in JavaScript

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

Advertisements
JavaScript / Programmings / Technologies

An Introduction to Web Workers

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