javascript

Finding the ending number: What is 60% of 25?

Formula: Multiply the percentage by the total value .60 x 25 = 15

1 year ago

Laravel getting error: Target class [App\Http\Controllers\GurbaniReadingController::class] does not exist. But file already exists!!

Hello Guys, Facing this issue and struggling to find the cause?, okay then lets direct jump in to the fix…

2 years ago

How to fix Uncaught TypeError: Cannot assign to read only property ‘0’ of object occurring in JavaScript?

Hello, This type error mostly get in scenario when you try to sort the readyonly data array. For me this…

2 years ago

What is Event Loop & Micro and Macro Tasks in JavaScript?

Hello, The basic concept behind the event loop working in Javascript engine! Event Loop is a mechanism in JavaScript that…

2 years ago

How to identify closed 5km range co ordinates from given co ordinates

Hello, This nice question and other below I have learned recently! Let see how its answered. To identify the closed…

2 years ago

Closures in JavaScript

A closure in JavaScript is a function that has access to variables in its outer scope, even after the outer…

2 years ago

How to filter customers state array based on set of array of ids in javascript/reactjs.

Filtering customers state array based on array of ids in javascscript/react. const activeCustomerIdSet = [3,4,9]; //customers is array of customer…

2 years ago

Easy steps to create source endpoints with base url’s in react or any spa applications using ES6 tagged templates as project utility and maintainbilty

Hello, Here I would like to share with you a very handy and new innovative approach using ES6 Tag Literals…

3 years ago