improve for loop
Merge branch 'master' into my-js-snippets
Merge pull request #178 from guileen/my-js-snippets

improve for loop of javascript