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

Method clear

Calculator/app.js:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 }
7
8 clear(){
9 this.currentOperant = '';
10 this.previousOperant = '';
11 this.operation = undefined;
12 }
13
14 delete(){
15 this.currentOperant = this.currentOperant.toString().slice(0, -1);

Callers 2

constructorMethod · 0.95
app.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected