Last active
December 16, 2015 05:49
-
-
Save moriiimo/5387450 to your computer and use it in GitHub Desktop.
// 100をfor, whileを使わないでconsole.logで出力する。 : level12 - level12 - Booleanオブジェクト、プリミティブなbooleanを使ってはいけません
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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