Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ copyPassword
Function
copyPassword
Password Generator/index.js:23–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
function
copyPassword() {
24
var
copyText = document.getElementById(
'password'
)
25
copyText.select()
26
document.execCommand(
'copy'
)
27
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected