MCPcopy Create free account
hub / github.com/BorisMoore/jquery-tmpl / join

Function join

tests/qunit.js:1052–1061  ·  view source on GitHub ↗
( pre, arr, post )

Source from the content-addressed store, hash-verified

1050 return o + '';
1051 };
1052 function join( pre, arr, post ) {
1053 var s = jsDump.separator(),
1054 base = jsDump.indent(),
1055 inner = jsDump.indent(1);
1056 if ( arr.join )
1057 arr = arr.join( ',' + s + inner );
1058 if ( !arr )
1059 return pre + post;
1060 return [ pre, inner + arr, base + post ].join(s);
1061 };
1062 function array( arr ) {
1063 var i = arr.length, ret = Array(i);
1064 this.up();

Callers 2

arrayFunction · 0.85
qunit.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected