Skip to content

Instantly share code, notes, and snippets.

@brianleroux
Last active August 29, 2015 14:09
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 brianleroux/b4f7d9c963bd79db1ef9 to your computer and use it in GitHub Desktop.
Save brianleroux/b4f7d9c963bd79db1ef9 to your computer and use it in GitHub Desktop.
//src/echo.js
let echo = (value) => value + ''
export default echo
@isaacs
Copy link

isaacs commented Dec 1, 2014

So.. echo just casts to string?

@brianleroux
Copy link
Author

pretty much; too contrived?

@brianleroux
Copy link
Author

@sintaxi suggested I do an add fn instead…thought this was simpler!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment