Skip to content

Commit c03b6f7

Browse files
author
Kyle Maune
committed
added second solution for binary converter
1 parent 3587d57 commit c03b6f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Medium Difficulty/binaryConverter2.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// coderbyte solution for binary converter
2+
// splashinn
3+
4+
function BinaryConverter(str) {
5+
return parseInt(str, 2);
6+
}

0 commit comments

Comments
 (0)