refactor: slight performance improvements

This commit is contained in:
thecodrr
2019-12-01 00:13:59 +05:00
parent 66209c7a4b
commit 66ba9c4f9f
2 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
export function extractValues(obj) {
const t = [];
for (var key in obj) {
t[t.length] = obj[key];
}
return t;
}