Maps and Sets in javascript with example

Data structures in computer science refers to the programming storage of data for efficient usage in applications and algorithms. In the major release of javascript(ES6), four data structures were made available to the developers which really made javascript development further ease. They are Map, WeakMap, Set and WeakSet. Maps and WeakMaps Maps are nothing but … Continue reading “Maps and Sets in javascript with example”

ES6 new features – Part 2

Before diving into the core concepts like ‘Class’ and ‘Promises’ of ES6, let us see some minor changes which really helps in daily life coding. Destructuring Assignment Destructuring assignment on arrays allows for much more efficient array manipulation and assigns multiple variables from array data based on the index value.

Destructuring assignment on objects … Continue reading “ES6 new features – Part 2”


A web worker is a JavaScript that runs in the background. Independent of other scripts, without affecting the performance of the page. Web worker specification defines an API for spawning background scripts in our web application. Web workers allow us to do things like fire up long-running scripts to handle computationally intensive tasks, without blocking … Continue reading “Web-Workers”

Installing Node.js and Express.js in Mac

Installing node.js is very simple and it happens in just some clicks. Click on the Macintosh installer on the download screen. Follow the instructions to install Node in your mac, Finally, it prompts to make sure the $path is same as node.js is referring to. To verify, open terminal and type echo “$PATH”. Usually, it … Continue reading “Installing Node.js and Express.js in Mac”

Convert base64 string to a file in javascript

I lately realized that people who are using my technique to convert a file to a base64 string in javascript are searching out for a solution to convert base64 to a file. This article mainly concentrates on converting the base64 back to the respective file with their respective formats. There are many ways to achieve … Continue reading “Convert base64 string to a file in javascript”

SVG animation and creation in javascript

SVG-  Scalable Vector Graphics SVG is a markup language for describing two-dimensional graphics applications and images, and a set of related graphics script interfaces. SVG allows for three types of graphic objects: Vector graphic shapes (paths consisting of straight lines and curves), images and Text. Advantages:- SVG images can be created and edited with any … Continue reading “SVG animation and creation in javascript”