Created
June 22, 2018 15:45
-
-
Save wehrhaus/8866599e9e2e6bf5a6ed6a34ed1bfc0f to your computer and use it in GitHub Desktop.
Return binary of sum of numbers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const addBinary = (...n) => n.reduce((acc, cur) => acc + cur).toString(2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment