Sometimes we need to do multiple iterations over a list and objects, for that we could use a simple function, but it will be better to use a generator function for that!
Working with a lot of people to create some screens with React or just create some application using Javascript, I saw a lot of pull request return like those "Hey, use const for immutability". That's true and false at the same time ! Let see together why ?