var _ = require('underscore'); var a = {"a": 1, "b": 2}; console.log(_(a).size());// 2 console.log(_.size(a));// 2 console.log(_(a).toArray());// [1, 2] console.log(_.toArray(a));// [1, 2]
var _ = require('underscore'); var a = {"a": 1, "b": 2}; console.log(_(a).size());// 2 console.log(_.size(a));// 2 console.log(_(a).toArray());// [1, 2] console.log(_.toArray(a));// [1, 2]