Skip to content

Instantly share code, notes, and snippets.

@cipto-hd
Created June 22, 2014 07:48
Show Gist options
  • Save cipto-hd/b1a37e93822852e42f75 to your computer and use it in GitHub Desktop.
Save cipto-hd/b1a37e93822852e42f75 to your computer and use it in GitHub Desktop.
for, while, do --> loop
// Write your code below!
for(var i=0;i<3;i++){console.log("Subhanallah")}
var i=3;
while(i--){console.log("Alhamdulillah")}
var i=2;
do{console.log("La ilaha illallah")}while(i--)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment