• function

can.makeArray

 

Convert an array-like object to an Array.

can.makeArray(arrLike)

Parameters

  1. arrLike {Object}

    An array-like object.

Returns

{Array}

The converted object.

can.makeArray(arrLike) converts an array-like object into a array.

can.makeArray({0 : "zero", 1: "one", length: 2}); // ["zero","one"]