Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ xor_c
Function
xor_c
assets/js/Code_Converter.js:30–32 ·
view source on GitHub ↗
(a,b)
Source
from the content-addressed store, hash-verified
28
29
30
function
xor_c (a,b){
//XOR Function
31
return
(a==b)?
'0'
:
'1'
;
32
}
33
34
function
flip(c){
//Function to Flip the bit
35
return
(c==
'0'
) ?
'1'
:
'0'
;
Callers
1
BinaryToGray
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected