Posts Tagged

Tips

How map() works in JavaScript?

In JavaScript, map() works as a method that allows transforming the elements of an array variable and returning them as a new array variable with the results of that transformation. Without modifying the original array. Syntax: Basic example of map(): In this case, map() creates a new array with squared values. Example of map() with…

Read More

When the local server stopped working

During my career as a web developer it has happened to me on two occasions where my local server stopped working “out of nowhere”. Unfair bugs in the software that have caused me to lose valuable time due to the many hours it takes to restore it. So today I will write some important tips…

Read More