Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ subtract
Function
subtract
js-calculator/script.js:2–2 ·
view source on GitHub ↗
(a,b)
Source
from the content-addressed store, hash-verified
1
let
add = (a,b)=> a+ b
2
let
subtract = (a,b)=> a - b
3
let
mult = (a,b)=> a * b
4
let
divide = (a,b)=> a / b
5
let
inverse = a=> -1*a
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected