Administrator
2023-08-23 f97d74f9f851ef70048fab599d7bc54d7932afc7
1
2
3
4
5
'use strict';
 
exports.bin = function bin(str) {
  return parseInt(str.replace(/[^01]/g, ''), 2);
}