MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / flip

Function flip

assets/js/Code_Converter.js:34–36  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

32}
33
34function flip(c){ //Function to Flip the bit
35 return (c=='0') ? '1':'0';
36}
37
38function BinaryToGray(binary){ //Binary to Gray Function
39binary = binary.split('');

Callers 1

GrayToBinaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected