feige
2023-04-25 5096e484873e05789d6f5d8add96720458323a95
1
2
3
4
5
'use strict';
 
exports.bin = function bin(str) {
  return parseInt(str.replace(/[^01]/g, ''), 2);
}