feige
2025-05-06 c4d4c5d25cd78fa302fe07a824c8d7b3412bd9f1
1
2
3
4
5
'use strict';
 
exports.bin = function bin(str) {
  return parseInt(str.replace(/[^01]/g, ''), 2);
}