Skip to content

Instantly share code, notes, and snippets.

@dylanbr
Last active August 29, 2015 14:14
Show Gist options
  • Save dylanbr/893de8a076cce5165131 to your computer and use it in GitHub Desktop.
Save dylanbr/893de8a076cce5165131 to your computer and use it in GitHub Desktop.
"hello world!" from prime numbers in JavaScript (formatted)
function greet() {
return
m=-2,
r=5,
x=1311298913,
y=6610866907,
z=Math.pow(r+m,r+m),
l=[]+[],
g=l+greet,
(x*z*r*-m+l+y*(z*r+-m*r)).match(/\d{2}/g).map(function(e){
m=-m;
return this[e/r+m];
},
g.replace(/[^^-{ !]/g,l).split(l).sort().filter(function(e,i,a){
return a.indexOf(e,++i)===-1;
}).join(l)).join(l);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment