0a5ab058a6
- Angular 12 application with PrimeNG components - 5 existing Cypress e2e test suites - SCSS styling with BEM naming convention - i18n support (10 languages) - Leaflet map integration - Complete component hierarchy and routing structure This baseline will be used for Angular → React migration.
18 lines
441 B
JavaScript
18 lines
441 B
JavaScript
'use strict';
|
|
|
|
var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
|
|
var callBound = require('call-bound');
|
|
|
|
var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
|
|
|
|
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
|
|
vals[vals.length] = obj[key];
|
|
}
|
|
}
|
|
return vals;
|
|
};
|