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