Using async/await with Array.forEach() does not work as expected
June 12, 2021You probably came across the need to loop over an array while using async/await, and the Array.forEach() method seems like an easy choice…
Written by Karolina Kaszuba - Software Developer and Designer who lives and works in a beautiful city of Gdańsk, Poland.
You probably came across the need to loop over an array while using async/await, and the Array.forEach() method seems like an easy choice…
When we want to pass a function as a callback to e.g. Array.map() method we usually pass it inline and everything works as expected. But we…
URL encoding converts unsafe characters into a valid ASCII character-set, which is a format that can be transmitted over the Internet. The…
Today I'm going to look at the methods that make searching arrays much easier and without writing loops. What are the differences between…
This is the first post on my new blog! How exciting! I'm sure I'll write a lot more interesting things in the future. The blog is based on…