Skip to content

Instantly share code, notes, and snippets.

@brianleroux brianleroux/echo.js Secret
Last active Aug 29, 2015

Embed
What would you like to do?
//src/echo.js
let echo = (value) => value + ''
export default echo
@isaacs

This comment has been minimized.

Copy link

commented Dec 1, 2014

So.. echo just casts to string?

@brianleroux

This comment has been minimized.

Copy link
Owner Author

commented Dec 1, 2014

pretty much; too contrived?

@brianleroux

This comment has been minimized.

Copy link
Owner Author

commented Dec 1, 2014

@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
You can’t perform that action at this time.