Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Mock math.js
export const add = (a, b) => a + b;
export const subtract = (a, b) => b - a;
export const multiply = (a, b) => a * b;
export const divide = (a, b) => b / a;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment