MCPcopy
hub / github.com/amark/gun / withStack

Function withStack

test/mocha.js:6032–6036  ·  view source on GitHub ↗
(value, fn)

Source from the content-addressed store, hash-verified

6030 /* eslint-enable no-unused-vars */
6031 var type = exports.type(value);
6032 function withStack(value, fn) {
6033 stack.push(value);
6034 fn();
6035 stack.pop();
6036 }
6037
6038 stack = stack || [];
6039

Callers 1

mocha.jsFile · 0.85

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected