MCPcopy Index your code
hub / github.com/prototypejs/prototype / reduce

Function reduce

test/unit/tests/selector.test.js:2–4  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

1
2function reduce(arr) {
3 return arr.length > 1 ? arr : arr[0];
4}
5
6
7suite('Selector', function () {

Callers 1

selector.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected