Tcsm
2023-07-18 b34fbeffb0d128b75ec0a91acf7fe8ac3816c597
1
2
3
4
5
'use strict';
 
exports.bin = function bin(str) {
  return parseInt(str.replace(/[^01]/g, ''), 2);
}