fake binary code code example
Example: how to make fake binary
function fakeBin(x) {
return x.replace(/\d/g, d => d < 5 ? 0 : 1);
}
// for code wars lol
function fakeBin(x) {
return x.replace(/\d/g, d => d < 5 ? 0 : 1);
}
// for code wars lol