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

Function genericIterableToString

test-app/public/sinon.js:4688–4696  ·  view source on GitHub ↗
(iterable)

Source from the content-addressed store, hash-verified

4686 }
4687
4688 function genericIterableToString(iterable) {
4689 /* eslint-disable-next-line local-rules/no-prototype-methods */
4690 iterable.forEach(function(value) {
4691 representation += stringify(value) + ",";
4692 });
4693
4694 representation = slice(representation, 0, -1);
4695 return representation;
4696 }
4697
4698 if (typeOf(obj) === "map") {
4699 return mapToString(obj);

Callers 1

sinon.jsFile · 0.85

Calls 2

stringifyFunction · 0.85
sliceFunction · 0.85

Tested by

no test coverage detected