Let's say you have an array of data and you need to go through each of its elements. In this situation we usually use a for loop to iterate over the elements. Let's see this through with a simple example here : const numbers = [6,1,9] for (let i = 0...
rahulbakshi.hashnode.dev3 min read
No responses yet.