Skip to content

Instantly share code, notes, and snippets.

@omas
Last active August 29, 2015 14:02
Show Gist options
  • Save omas/76b59e3a6d038ad3f24a to your computer and use it in GitHub Desktop.
Save omas/76b59e3a6d038ad3f24a to your computer and use it in GitHub Desktop.
function answer1(){
// 変数を使ったパターン ちょっとインチキ
var myArray = ["c", "o", "d", "e", "s", "t", "u", "d", "y"];
var start = 1;
var end = 4;
for(var count = start; count < end; count++) {
output(myArray[count]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment