MCPcopy
hub / github.com/quirkey/sammy / _makeArray

Function _makeArray

lib/sammy.js:22–22  ·  view source on GitHub ↗
(nonarray)

Source from the content-addressed store, hash-verified

20 QUERY_STRING_MATCHER = /\?([^#]*)?$/,
21 // mainly for making `arguments` an Array
22 _makeArray = function(nonarray) { return Array.prototype.slice.call(nonarray); },
23 // borrowed from jQuery
24 _isFunction = function( obj ) { return Object.prototype.toString.call(obj) === "[object Function]"; },
25 _isArray = function( obj ) { return Object.prototype.toString.call(obj) === "[object Array]"; },

Callers 1

sammy.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected