Tarun Sharma @tkssharma

Common Design Pattern using Typescript

Posted on May 01, 2020

Most 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 post

Javascript's new features in 2020

Posted on March 25, 2020

Javascript'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 post

Typescript Interview Questions

Posted on March 24, 2020

JavaScript 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 post

Javascript Object equality and Compare

Posted on March 22, 2020

Kinds 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 post

Introduction to the DOM, DOM Tree, Nodes and Elements Part-2

Posted on March 21, 2020

In 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 post

Introduction to the DOM, DOM Tree, Nodes and Elements Part-1

Posted on March 20, 2020

Introduction 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 post

Top 50 Node JS Interview Questions

Posted on March 11, 2020

Question 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 post

cancelling axios request javascript

Posted on March 09, 2020

I 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 post

Play with Javascript Object and Array

Posted on March 08, 2020

count 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 post

Deep clone object in Javascript | Fun with Objects

Posted on March 07, 2020

clonning 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