Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
function
flip(c){
//Function to Flip the bit
35
return
(c==
'0'
) ?
'1'
:
'0'
;
36
}
37
38
function
BinaryToGray(binary){
//Binary to Gray Function
39
binary = binary.split(
''
);
Callers
1
GrayToBinary
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected