MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / array

Function array

lib/web/polyfill.js:219–221  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

217// Array
218// array('str1,str2,str3') => ['str1', 'str2', 'str3']
219function array(it){
220 return String(it).split(',');
221}
222var push = ArrayProto.push
223 , unshift = ArrayProto.unshift
224 , slice = ArrayProto.slice

Callers 2

polyfill.jsFile · 0.85
setArrayStaticsFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected