values.js 265 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 define(['./forOwn'], function (forOwn) { /** * Get object values */ function values(obj) { var vals = []; forOwn(obj, function(val, key){ vals.push(val); }); return vals; } return values; });