MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / addChar

Function addChar

assets/js/Sci_Cal.js:1–6  ·  view source on GitHub ↗
(input, character)

Source from the content-addressed store, hash-verified

1function addChar(input, character) {
2 if(input.value == null || input.value == "0")
3 input.value = character
4 else
5 input.value += character
6}
7
8function cos(form) {
9 form.display.value = Math.cos(form.display.value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected