Skip to content

Instantly share code, notes, and snippets.

@moriiimo
Last active December 16, 2015 05:49
Show Gist options
  • Save moriiimo/5387450 to your computer and use it in GitHub Desktop.
Save moriiimo/5387450 to your computer and use it in GitHub Desktop.
// 100をfor, whileを使わないでconsole.logで出力する。 : level12 - level12 - Booleanオブジェクト、プリミティブなbooleanを使ってはいけません
$(function(){
new Array(Number(["s".length, "".length, "".length].join(""))).toString().split(",").filter(function(val, index){ console.log(-~index); });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment