mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
refactor: slight performance improvements
This commit is contained in:
7
packages/core/utils/index.js
Normal file
7
packages/core/utils/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export function extractValues(obj) {
|
||||
const t = [];
|
||||
for (var key in obj) {
|
||||
t[t.length] = obj[key];
|
||||
}
|
||||
return t;
|
||||
}
|
||||
Reference in New Issue
Block a user