MCPcopy Create free account
hub / github.com/CloudBoost/cloudboost / withStack

Function withStack

test/bower_components/mocha/mocha.js:6187–6191  ·  view source on GitHub ↗
(value, fn)

Source from the content-addressed store, hash-verified

6185 type = exports.type(value),
6186 prop,
6187 withStack = function withStack(value, fn) {
6188 stack.push(value);
6189 fn();
6190 stack.pop();
6191 };
6192
6193 stack = stack || [];
6194

Callers 1

mocha.jsFile · 0.85

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected