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

Method delete

Calculator/app.js:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 }
13
14 delete(){
15 this.currentOperant = this.currentOperant.toString().slice(0, -1);
16 }
17
18 appendNumber(number){
19 if(number === '.' && this.currentOperant.includes('.'))

Callers 1

app.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected