mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
16
react-app/node_modules/core-js/modules/$.object-to-array.js
generated
vendored
Normal file
16
react-app/node_modules/core-js/modules/$.object-to-array.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
var $ = require('./$')
|
||||
, toIObject = require('./$.to-iobject')
|
||||
, isEnum = $.isEnum;
|
||||
module.exports = function(isEntries){
|
||||
return function(it){
|
||||
var O = toIObject(it)
|
||||
, keys = $.getKeys(O)
|
||||
, length = keys.length
|
||||
, i = 0
|
||||
, result = []
|
||||
, key;
|
||||
while(length > i)if(isEnum.call(O, key = keys[i++])){
|
||||
result.push(isEntries ? [key, O[key]] : O[key]);
|
||||
} return result;
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user