Two for Loops in JavaScript
codepipet.com