In modern javascript, there are 3 ways to write the same code, and all those…
In the past exercise, we created a catalog of products where we loaded products from the database or…