Skip to content

Commit 817aeb6

Browse files
authored
Merge pull request vJechsmayr#174 from SylviaLiu0514/master
add Octal to Demical
2 parents 438d991 + d35c3ba commit 817aeb6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const OctalToDecimal = num=>
2+
parseInt(num, 8);
3+
console.log(OctalToDecimal(123));

0 commit comments

Comments
 (0)