JavaScript How to create a new Object instance in javascript Hi Guys, sometimes you face an issue while changing some property in the javascript object, javascript takes a single object instance for one object in memory in your application, when you try to update the property it will update in the memory and the value will be changed all places where the variable is using. […] Written by Aditya Mishra October 1, 2023October 1, 2023 Saving Bookmark this article Bookmarked
JavaScript How to Create a Custom Event Listener in Javascript In JavaScript, you can simply create custom event listeners. This will allow you to define your own custom events and trigger them as needed. Here’s a step-by-step guide on how to create and use custom event listeners Step 1: Define a Custom Event You can create a new custom event listener using the CustomEvent constructor […] Written by Aditya Mishra August 5, 2023August 6, 2023 Saving Bookmark this article Bookmarked