Common Design Pattern using Typescript
Posted on May 01, 2020Most Common Design Pattern for TypescriptWe all use design patterns in our code. Sometimes, it's unnecessary, but it could give a nice and understandable structure to your architecture. Since…
Read full postJavascript's new features in 2020
Posted on March 25, 2020Javascript's new features in 2020ECMAScript 2015, also known as ES6, was a major release that took six years to finalize. Since then, Technical Committee 39 (TC39), the body in charge of developing…
Read full postTypescript Interview Questions
Posted on March 24, 2020JavaScript is an integral part of Web Development. It is an era of new client-side frameworks or technologies like AngularJs, Gulp, Grunt, Yeoman, etc., that provide a better user experience…
Read full postJavascript Object equality and Compare
Posted on March 22, 2020Kinds of EqualityIn JavaScript, there are several kinds of equality. If you’ve been writing JavaScript for a while, you’re probably familiar with at least two of them:Strict Equality: a === b (triple…
Read full postIntroduction to the DOM, DOM Tree, Nodes and Elements Part-2
Posted on March 21, 2020In Understanding the DOM Tree and Nodes, we went over how the DOM is structured as a tree of objects called nodes, and that nodes can be text, comments, or elements. Usually when we access content in…
Read full postIntroduction to the DOM, DOM Tree, Nodes and Elements Part-1
Posted on March 20, 2020Introduction to the DOMThe Document Object Model, usually referred to as the DOM, is an essential part of making websites interactive. It is an interface that allows a programming language to…
Read full postTop 50 Node JS Interview Questions
Posted on March 11, 2020Question 1What is NPM & how its being used with Node JSnpm is the package manager for JavaScript based application and the world’s largest software registry having thousands of javascript modules.You…
Read full postcancelling axios request javascript
Posted on March 09, 2020I have to implement a search functionality and it will trigger the search api in every key up event. After I complete typing a long search key, the search results will be override by the sub-string of…
Read full postPlay with Javascript Object and Array
Posted on March 08, 2020count number of iteration for array elementsReturns an object with the unique values of an array as keys and their frequencies as the values.Use Array.prototype.reduce() to map unique values to an…
Read full postDeep clone object in Javascript | Fun with Objects
Posted on March 07, 2020clonning Objects in JavascriptCloning an object in JavaScript a task that is almost always used in any project, to clone everything from simple objects to the most complicated ones.As it may seem…
Read full post