Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nitayneeman/36231820444fc11e804ce9dc83ea2925 to your computer and use it in GitHub Desktop.
Save nitayneeman/36231820444fc11e804ce9dc83ea2925 to your computer and use it in GitHub Desktop.
const addition = 3n + 2n;
console.log(addition); // 5n
const subtraction = 3n - 2n;
console.log(subtraction); // 1n
const multiplication = 3n * 2n;
console.log(multiplication); // 6n
const division = 3n / 2n;
console.log(division); // 1n
const modulo = 3n % 2n;
console.log(modulo); // 1n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment