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