Sha256: 53d26fc276aa0eb3c8900a083233dbe18eb27d254ac5195b6ae72aa689178034

Contents?: true

Size: 491 Bytes

Versions: 26

Compression:

Stored size: 491 Bytes

Contents

'use strict';

var RequireObjectCoercible = require('es-abstract/2023/RequireObjectCoercible');
var callBound = require('call-bind/callBound');

var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
var $push = callBound('Array.prototype.push');

module.exports = function values(O) {
	var obj = RequireObjectCoercible(O);
	var vals = [];
	for (var key in obj) {
		if ($isEnumerable(obj, key)) { // checks own-ness as well
			$push(vals, obj[key]);
		}
	}
	return vals;
};

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.32 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.31 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.30 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.29 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.28 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.27 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.26 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.25 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.24 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.23 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.22 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.21 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.20 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.19 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.18 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.17 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.16 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.14 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.13 node_modules/object.values/implementation.js
immosquare-cleaner-0.1.12 node_modules/object.values/implementation.js