Last active
August 29, 2015 14:25
-
-
Save adamay000/94bd1642f1a24842e9f2 to your computer and use it in GitHub Desktop.
1から100まで
This file contains 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
setTimeout((function(cnt){ | |
console.log(cnt.length), | |
(cnt.length > new Number('99') || | |
arguments.callee((cnt.push(''), cnt))) | |
).bind(this, [''])) |
This file contains 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(i){ | |
console.log(i.length), | |
(new String(i.length).length>'mx'.length || | |
arguments.callee((i.push(''),i))) | |
}).call(this,['']) |
This file contains 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
// new Stringをやめる | |
(function(cnt) { | |
console.log(cnt.length), | |
(''.concat(cnt.length).length >= 'max'.length || | |
arguments.callee((cnt.push(''), cnt))) | |
}).call(this, ['']) |
This file contains 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
// '100'で | |
(function(cnt){ | |
console.log(cnt.length) || // -> undefined | |
cnt.length >= '100'<<0 || // -> cnt.lengthが100未満ならfalse | |
arguments.callee(cnt.concat(' ')) // 再起 | |
}).call(this, ' ') | |
//ファイルの追加ができた。。。 |
This file contains 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
// 途中で没 | |
new function(cnt, one, max){ | |
console.log(cnt) || | |
cnt >= max || | |
arguments.callee(cnt + 1, one, max) | |
}(!''^'', !''^'', ''^!''<<!''<<!''<<!''<<!''<<!''<<!''^!''<<!''<<!''<<!''<<!''<<!''^!''<<!''<<!'') |
This file contains 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
new function(cnt){ | |
console.log(cnt.lastIndexOf(' ')) || | |
cnt.lastIndexOf(' ') >= ''^!''<<!''<<!''<<!''<<!''<<!''<<!''^!''<<!''<<!''<<!''<<!''<<!''^!''<<!''<<!'' || | |
arguments.callee(cnt.concat(' ')) | |
}(' ') | |
// ビットシフトで100を作る | |
// ''^!''<<!''<<!''<<!''<<!''<<!''<<!''^!''<<!''<<!''<<!''<<!''<<!''^!''<<!''<<!'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment