Not every case you can replace a looping method for the short one, but if it does then do it. Instead of: let names = [‘Amy’, ‘James, ‘David’, ‘John’]; for (let i = 0; i < names.length; i++) {} Do this: let names = [‘Amy’, ‘James, ‘David’, ‘John’]; for (let name of names) {} In case the indexes matter: for (let [index, name] of names.entries()) {}