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

Function split

test/unit/tests/function.test.js:107–107  ·  view source on GitHub ↗
(delimiter, string)

Source from the content-addressed store, hash-verified

105
106 test('#curry', function () {
107 var split = function(delimiter, string) { return string.split(delimiter); };
108 var splitOnColons = split.curry(":");
109 assert.notStrictEqual(split, splitOnColons);
110 assert.enumEqual(split(":", "0:1:2:3:4:5"), splitOnColons("0:1:2:3:4:5"));

Callers 1

function.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected