blog
7 ways to create objects in JavaScript
In JavaScript, objects are king. If you understand objects, you understand JavaScript. There are many ways to create objects in JavaScript as below 1. Object constructor: The simplest way to create an empty object is Read more…
Javascript
JavaScript code to reverse a string
Today, I found a challenge that required me to reverse a particular string, so below is the code written in JavaScript to achieve the result. Method 1: Method 2: Additional Information: The string can be Read more…
blog
How to Detect changes on the URL using JavaScript
It’s while developing the chrome extensions, I faced an issue while performing certain event on the page URL was getting updated but my script didn’t get executed (script executed once only on window onload event), Read more…