문제 링크 : Add Binary
/**
* @param {string} a
* @param {string} b
* @return {string}
*/
var addBinary = function(a, b) {
let binA = BigInt("0b"+a)
let binB = BigInt("0b"+b)
return (binA+binB).toString(2);
};
/**
* @param {string} a
* @param {string} b
* @return {string}
*/
var addBinary = function(a, b) {
return ((BigInt(`0b${a}`)+BigInt(`0b${b}`)).toString(2));
};