Skip to content

Instantly share code, notes, and snippets.

@krsnachandra
Created December 22, 2017 19:10
Show Gist options
  • Save krsnachandra/66283fb5113d3d34a1276c0d4d3326cb to your computer and use it in GitHub Desktop.
Save krsnachandra/66283fb5113d3d34a1276c0d4d3326cb 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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment