toArray 转化为数组
console.info(_.toArray({ 'a': 1, 'b': 2 }));
// => [1, 2]
console.info(_.toArray('abc'));
// => ['a', 'b', 'c']
console.info(_.toArray(1));
// => []
console.info(_.toArray(null));
// => []
相信坚持的力量,日复一日的习惯.
console.info(_.toArray({ 'a': 1, 'b': 2 }));
// => [1, 2]
console.info(_.toArray('abc'));
// => ['a', 'b', 'c']
console.info(_.toArray(1));
// => []
console.info(_.toArray(null));
// => []