MCPcopy Create free account
hub / github.com/codemistic/Web-Development / clearScreen

Function clearScreen

Calculator/Script/script.js:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67// Clears the screen on click of C button.
68function clearScreen() {
69 document.getElementById("result").value = "";
70}
71// Displays entered value on screen.
72function liveScreen(value) {
73 let res = document.getElementById("result");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected