Skip to main content
fixed an unfortunate logic error
Source Link
Casey Chu
  • 1.8k
  • 13
  • 10

JavaScript 1.8, 9399 chars

function c(x)!+x(x.replace(/([a-z])\1*/g,function(m)!(a-m.length+mlength)*m.charCodeAt(0)-96-a-a++,a=1)==0)*a+15

I dare you to make sense of it :)

JavaScript 1.8, 93 chars

function c(x)!+x.replace(/([a-z])\1*/g,function(m)m.length+m.charCodeAt(0)-96-a-a++,a=1)*a+15

I dare you to make sense of it :)

JavaScript 1.8, 99 chars

function c(x)(x.replace(/([a-z])\1*/g,function(m)!(a-m.length)*m.charCodeAt(0)-96-a++,a=1)==0)*a+15

I dare you to make sense of it :)

deleted 10 characters in body
Source Link
Casey Chu
  • 1.8k
  • 13
  • 10

JavaScript 1.8, 10293 chars

function c(x)!+x.replace(/([a-z])\1*/g,function(m)m.length+m.charCodeAt(0)-96-a-a++,a=1)*eval(x[0])+15*a+15

I dare you to make sense of it :)

JavaScript 1.8, 102 chars

function c(x)!+x.replace(/([a-z])\1*/g,function(m)m.length+m.charCodeAt(0)-96-a-a++,a=1)*eval(x[0])+15

I dare you to make sense of it :)

JavaScript 1.8, 93 chars

function c(x)!+x.replace(/([a-z])\1*/g,function(m)m.length+m.charCodeAt(0)-96-a-a++,a=1)*a+15

I dare you to make sense of it :)

Source Link
Casey Chu
  • 1.8k
  • 13
  • 10

JavaScript 1.8, 102 chars

function c(x)!+x.replace(/([a-z])\1*/g,function(m)m.length+m.charCodeAt(0)-96-a-a++,a=1)*eval(x[0])+15

I dare you to make sense of it :)