Merge two objects in JavaScript

Merge two objects in JavaScript

In this tutorial, we will learn how to merge two or more JavaScript objects and create a new object that combines the properties of all the objects. To merge objects into a new one containing all the properties of the merged objects, we have two options: Use a spread operator (…) Use the Object.assign() method … Read more

How to remove null from an Object w/wo Lodash?

How to remove null from Object?

In the previous blog we saw how to remove null from an Array using Lodash. If you haven’t checked that blog, please read it once to understand what Lodash is. In this tutorial we will see how to remove null from an object with Lodash. At this stage, we believe that you know the difference … Read more

How to get nth child with jQuery and JavaScript

How to get nth child with jQuery and JavaScript

In this blog we will be discussing how to get nth child using jQuery and JavaScript. In jQuery, :nth-child() Selector selects all the elements that are the nth-child of their parent element, regardless of the type of the parent element. Selecting the nth child with jQuery and JavaScript Syntax for nth child (JS/jQuery) Parameter Description … Read more