'use strict'; module.exports = function array_values(input) { // eslint-disable-line camelcase // discuss at: http://locutus.io/php/array_values/ // original by: Kevin van Zonneveld (http://kvz.io) // improved by: Brett Zamir (http://brett-zamir.me) // example 1: array_values( {firstname: 'Kevin', surname: 'van Zonneveld'} ) // returns 1: [ 'Kevin', 'van Zonneveld' ] var tmpArr = []; var key = ''; for (key in input) { tmpArr[tmpArr.length] = input[key]; } return tmpArr; }; //# sourceMappingURL=array_values.js.map