/**
 * Convert an iteratable to an array.
 * @function lib.array.toArray
 * @param {object} iteratable - Iteratable object.(Like arguments);
 * @author Taka Okunishi
 *
 */
module.exports = function (iteratable) {
    return Array.prototype.slice.call(iteratable, 0);
};