Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ topFunction
Function
topFunction
assets/js/Scroll.js:11–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
}
10
}
11
function
topFunction() {
12
document.body.scrollTop = 0;
13
document.documentElement.scrollTop = 0;
14
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected