Skip to content

Instantly share code, notes, and snippets.

@kas-elvirov
Created May 22, 2021 16:43
Show Gist options
  • Save kas-elvirov/03d08ceccf2faa6aa0acf244c94d22d3 to your computer and use it in GitHub Desktop.
Save kas-elvirov/03d08ceccf2faa6aa0acf244c94d22d3 to your computer and use it in GitHub Desktop.
Nemathode with binary operators
const sumOperator = nemathode.evaluate([1, '+', 1]); // 2
const mulOperator = nemathode.evaluate([1, '*', 1]); // 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment