MCPcopy Create free account
hub / github.com/Jiasm/notebook / consume

Function consume

javascript/consume-cola.js:15–22  ·  view source on GitHub ↗

* 获取给定金额能够购买多少瓶可乐 * @param {Number} balance 当前余额 * @param {Number} total 已购买数量,默认0 * @return {Number} 总购买数量

(balance, total = 0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

consume-cola.jsFile · 0.85

Calls 1

recycleFunction · 0.85

Tested by

no test coverage detected