Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
how to make fake binary
Bathant Hegazy
Programming language:
Javascript
2021-07-30 04:42:35
0
Q:
how to make fake binary
yocu
Code:
Javascript
2021-07-02 10:13:31
function fakeBin(x) { return x.replace(/\d/g, d => d < 5 ? 0 : 1); } // for code wars lol
0
Tags
make
binary
how
Related
binary gap
New to Communities?
Join the community