collection/values.jsjavascript
/**
 * 返回对象的可枚举自有属性值。
 * @function values
 * @memberof module:collection
 * @param {Object} object 要读取的普通对象
 * @returns {Array} 属性值数组
 * @throws {TypeError} 参数不是对象时抛出
 */
function values(object) {
  if (object === null || typeof object !== 'object') throw new TypeError('object must be an object')
  return Object.values(object)
}

export default values