MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / values

Function values

MathBox/mathbox-bundle.js:38038–38048  ·  view source on GitHub ↗

* Creates an array composed of the own enumerable property values of `object`. * * @static * @memberOf _ * @category Objects * @param {Object} object The object to inspect. * @returns {Array} Returns an array of property values. * @example * * _.values({

(object)

Source from the content-addressed store, hash-verified

38036 * // => [1, 2, 3] (property order is not guaranteed across environments)
38037 */
38038 function values(object) {
38039 var index = -1,
38040 props = keys(object),
38041 length = props.length,
38042 result = Array(length);
38043
38044 while (++index < length) {
38045 result[index] = object[props[index]];
38046 }
38047 return result;
38048 }
38049
38050 /*--------------------------------------------------------------------------*/
38051

Callers 3

sampleFunction · 0.85
toArrayFunction · 0.85
templateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected