Skip to content

Instantly share code, notes, and snippets.

✍️
Writing tests

Nick Clifford nickbclifford

✍️
Writing tests
Block or report user

Report or block nickbclifford

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@michaelgira23
michaelgira23 / stringToFromCharCode.js
Last active Mar 2, 2018
JavaScript string "obfuscator." CAUTION: *This is only a joke! Do not actually use!*
View stringToFromCharCode.js
const string = process.argv.slice(2).join(' ');
let output = '';
string.split('').forEach((value, index) => {
if (index !== 0) {
output += ' + ';
}
output += `String.fromCharCode(${value.charCodeAt(0)})`
});
You can’t perform that action at this time.