MCPcopy Create free account
hub / github.com/AyushSaini00/60minuteJavaScript / updateDisplay

Method updateDisplay

Calculator/app.js:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }
63
64 updateDisplay(){
65 this.resultElement.innerText = this.currentOperant;
66 if(this.operation != null){
67 this.calcElement.innerText = `${this.previousOperant} ${this.operation}`;
68 }
69
70 }
71}
72
73//DOM Elements

Callers 1

app.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected