Comment detail

LL Golf Hole 7 - バイト数を読みやすくする (Nested Flatten)

極めて強引に。

1
2
3
4
5
6
(function(x){
  alert(eval(
    '[x'+'kMGTPEZY'.replace(/(.)/g,
    ',0|(x/=1024)?x.toFixed(2)+"$1":"z"')+'].sort()'
  )[0]);
})(123456789012345)

Index

Feed

Other

Link

Pathtraq

loading...