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