Conversions algorithms : remove live code & console.log.

This commit is contained in:
Eric Lavault
2021-10-09 18:15:30 +02:00
parent ab7e51909a
commit 30779682b9
9 changed files with 73 additions and 31 deletions

View File

@ -8,7 +8,10 @@ const binaryToDecimal = (binaryString) => {
return decimalNumber
}
(() => {
binaryToDecimal('111001')
binaryToDecimal('101')
})()
export { binaryToDecimal }
// > binaryToDecimal('111001')
// 57
// > binaryToDecimal('101')
// 5