Binary addition

Run Settings
LanguageJavaScript
Language Version
Run Command
function binaryToDec(a, b){ let aDec=parseInt(a,2); let bDec=parseInt(b,2); let binary=(aDec+bDec); return binary.toString(2); } console.log(binaryToDec("11","1"))
Editor Settings
Theme
Key bindings
Full width
Lines