Advertisement
Spocoman

05. Binary to Decimal

Jan 19th, 2022
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function solve(input) {
  2.  
  3.     console.log(parseInt(input, 2));
  4.  
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement