Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi
Last active May 31, 2020 10:26
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 cyrilletuzi/39e8d483294a809ea1fe646b0069d24d to your computer and use it in GitHub Desktop.
Save cyrilletuzi/39e8d483294a809ea1fe646b0069d24d to your computer and use it in GitHub Desktop.
myEmail.indexOf('@');
myEmail.replace('@', '[at]');
myEmail.substr(0, 5);
myEmail.length;
Number.parseInt('5', 10);
'name' in user;
userBooks.includes(`Book 1`);
Date.now();
console.log(varToDebug);
JSON.stringify(user);
try {
JSON.parse('{}');
} catch (error) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment