Skip to content

Instantly share code, notes, and snippets.

@nathanclevenger
Last active September 29, 2022 15:18
Show Gist options
  • Save nathanclevenger/bd151f1c57e27ed1c0fa18f12e10ece1 to your computer and use it in GitHub Desktop.
Save nathanclevenger/bd151f1c57e27ed1c0fa18f12e10ece1 to your computer and use it in GitHub Desktop.
Example for https://syntax.do
export default api = (number = 5) => ({ number, squared: number^2, cubed: number^3 })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment