Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HasmikSarg/CalcOldVersion
/ getElementById
Function
getElementById
JS/script.js:2–2 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
1
// Utility function to get element by ID
2
const
getElementById = (id) => document.getElementById(id);
3
4
// Functions for handling history and output
5
function
getHistory() {
Callers
4
getHistory
Function · 0.85
printHistory
Function · 0.85
getOutput
Function · 0.85
printOutput
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected