source: node_modules/es-toolkit/dist/compat/object/valuesIn.mjs

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 299 bytes
Line 
1import { keysIn } from './keysIn.mjs';
2
3function valuesIn(object) {
4 const keys = keysIn(object);
5 const result = new Array(keys.length);
6 for (let i = 0; i < keys.length; i++) {
7 const key = keys[i];
8 result[i] = object[key];
9 }
10 return result;
11}
12
13export { valuesIn };
Note: See TracBrowser for help on using the repository browser.