Skip to content

Instantly share code, notes, and snippets.

@adamay000
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamay000/94bd1642f1a24842e9f2 to your computer and use it in GitHub Desktop.
Save adamay000/94bd1642f1a24842e9f2 to your computer and use it in GitHub Desktop.
1から100まで
setTimeout((function(cnt){
console.log(cnt.length),
(cnt.length > new Number('99') ||
arguments.callee((cnt.push(''), cnt)))
).bind(this, ['']))
(function(i){
console.log(i.length),
(new String(i.length).length>'mx'.length ||
arguments.callee((i.push(''),i)))
}).call(this,[''])
// new Stringをやめる
(function(cnt) {
console.log(cnt.length),
(''.concat(cnt.length).length >= 'max'.length ||
arguments.callee((cnt.push(''), cnt)))
}).call(this, [''])
// '100'で
(function(cnt){
console.log(cnt.length) || // -> undefined
cnt.length >= '100'<<0 || // -> cnt.lengthが100未満ならfalse
arguments.callee(cnt.concat(' ')) // 再起
}).call(this, ' ')
//ファイルの追加ができた。。。
// 途中で没
new function(cnt, one, max){
console.log(cnt) ||
cnt >= max ||
arguments.callee(cnt + 1, one, max)
}(!''^'', !''^'', ''^!''<<!''<<!''<<!''<<!''<<!''<<!''^!''<<!''<<!''<<!''<<!''<<!''^!''<<!''<<!'')
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