MCPcopy Create free account
hub / github.com/deployd/deployd / mapToString

Function mapToString

test-app/public/sinon.js:4677–4686  ·  view source on GitHub ↗
(map)

Source from the content-addressed store, hash-verified

4675 }
4676
4677 function mapToString(map) {
4678 /* eslint-disable-next-line local-rules/no-prototype-methods */
4679 map.forEach(function(value, key) {
4680 representation +=
4681 "[" + stringify(key) + "," + stringify(value) + "],";
4682 });
4683
4684 representation = slice(representation, 0, -1);
4685 return representation;
4686 }
4687
4688 function genericIterableToString(iterable) {
4689 /* eslint-disable-next-line local-rules/no-prototype-methods */

Callers 1

sinon.jsFile · 0.85

Calls 2

stringifyFunction · 0.85
sliceFunction · 0.85

Tested by

no test coverage detected