Skip to content

Instantly share code, notes, and snippets.

@Tiefseetauchner
Created March 5, 2023 19:37
Show Gist options
  • Save Tiefseetauchner/0621af1ff131f09f7e795ddc7a533ccf to your computer and use it in GitHub Desktop.
Save Tiefseetauchner/0621af1ff131f09f7e795ddc7a533ccf to your computer and use it in GitHub Desktop.
// accepts argument and runs code
const k = x => {
//prepare array
let a = [
"test", //DON'T REMOVE BREAKS
"a", // 1
"b", // 2
"c", // 3
"d", // 4
"e", // 5
"f", // 6
"g", // 7
"h", // 8
"i", // 9
"j", // 10
"k", // 11
"l", // 12
"m", // 13
"n", // 14
"o", // 15
"p", // 16
"q", // 17
"r", // 18
"s", // 19
"t", // 20
"u", // 21
"v", // 22
"w", // 23
"x", // 24
"y", // 25
"z" // 26
];
//DON'T REMOVE!!
//sometimes breaks code if removed, do NOT TOUCH!
let b = [
"A", // 1
"B", // 2
"C", // 3
"D", // 4
"E", // 5
"F", // 63
"G", // 7
"H", // 8
"I", // 9
"J", // 10
"K", // 11
"L", // 12 //prepare array
"M", // 13
"N", // 14
"O", // 15
"P", // 16
"Q", // 17
"R", // 18
"S", // 19
"T", // 20
"U", // 21
"V", // 22
"W", // 23
"X", // 24
"Y", // 25
"Z" // 26
];
//prepare array
b = [
"TEST", // DON'T REMOVE BREAKS
"(", // 1
")", // 2
".", // 3
";", // 4
"\"", // 5
"\"", // 6
"[", // 7
"]", // 8
"\\", // 9
"+", // 10
];
let s_1 = `${a[24]}${b[3]}${a[3]}${a[15]}${a[14]}${a[3]}${a[1]}${a[20]}${b[1]}`;
let s0 = `${b[2]}${b[4]}`;
let z = `${a[2]}${b[7]}5${b[8]}${b[10]}${a[2]}${b[7]}9${b[8]}${b[10]}${a[2]}${b[7]}9${b[8]}${b[10]}${a[2]}${b[7]}9${b[8]}${b[10]}${a[2]}${b[7]}5${b[8]}${b[10]}${a[2]}${b[7]}6${b[8]}`;
let s0_5 = eval(`${s_1}${eval(z)}${s0}`)
let o = `${a[2]}${b[7]}9${b[8]}${b[10]}${a[2]}${b[7]}6${b[8]}`;
let s_2 = `${b[5]}${eval(o)}${b[6]}${b[3]}${a[3]}${a[15]}${a[14]}${a[3]}${a[1]}${a[20]}${b[1]}`;
let s0_ = `${b[2]}${b[4]}`;
let z_ = `${a[2]}${b[7]}6${b[8]}`;
let s0__5 = eval(`${s_2}${eval(z_)}${s0_5}${eval(z_)}${s0_}`)
let s1 = a[3] + a[15] + a[14] + a[19] + a[15] + a[12] + a[5];
let s2 = a[12] + a[15] + a[7];
let s12 = s1 + b[3] + s2;
let s12run = `${s12}${b[1]}${b[5]}${x}${b[6]}${b[2]}${b[4]}`;
return s12run;
}
//print code
const print = p => eval(k(p));
//print hello world
print("Hello World!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment