es6 loops examples