Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/main.js Secret

Last active Jun 16, 2017
Embed
What would you like to do?
for (i = 0; i < instructions.length; i++) {
var instruction = instructions[i];
encrypted.push(instruction.match(/^[a-z]+/)[0]);
id.push(parseInt(instruction.match(/\d+/)[0]));
checksum.push(instruction.match(/\[([a-z]{5})\]/)[1])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment