function toArray(arrayLike) {
    return _slice.call(arrayLike, 0);
  }
Converts an array-like object (e.g. arguments or NodeList) to an array
@method toArray
@memberOf fabric.util
@param {Object} arrayLike
@return {Array}