Skip to content

Instantly share code, notes, and snippets.

@vaz
Forked from krsnachandra/holidayobfuscation.js
Created December 22, 2017 21:00
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 vaz/10d1c6182373240da9ca41426aad178a to your computer and use it in GitHub Desktop.
Save vaz/10d1c6182373240da9ca41426aad178a to your computer and use it in GitHub Desktop.
Submission for LHL holiday obfuscation contest
function g() {
let a='Noel';
let b='Yuletide';
let c='Santa Claus';
let d='Rudolph';
let e='Snowflake';
let f='Occasion';
let g='North Pole';
let h='Christmas Tree';
let i='Joy';
let j='Elf';
let k='Firewood';
let l='Poinsettia';
let m='Jingle Bells';
let n='Gingerbread';
l=c;e=f;f=i;j=h;i=g;h=m;a=n;c=b;d=k;
let o=e[0]+j[9]+j[10]+e[3]+a[2]+l[2]+c[7]+h[2]+a[6]+e[3]+c[1]+j[6]+h[6];o+=o;
let p=d[4]+a[1]+d[3]+h[6]+l[3]+i[2]+j[12]+c[1]+h[6]+e[4]+h[1]+a[2]+c[6]+i[5];
let q=c[6]+i[9]+a[1]+l[2]+h[8]+j[9]+h[7]+i[8]+e[3]+c[4]+l[3]+d[3]+i[2];p+=q;
console.log(o);
console.log(p);
}
g();
@vaz
Copy link
Author

vaz commented Dec 22, 2017

I think it's the first 2 lines of O Tannenbaum.

@vaz
Copy link
Author

vaz commented Dec 22, 2017

Yup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment