Merge pull request #706 from dagolinuxoid/patch-2
Delete redundant Array.from() call
This commit is contained in:
commit
f08e89d83e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function aclean(arr) {
|
||||||
obj[sorted] = arr[i];
|
obj[sorted] = arr[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
return Array.from(Object.values(obj));
|
return Object.values(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
let arr = ["nap", "teachers", "cheaters", "PAN", "ear", "era", "hectares"];
|
let arr = ["nap", "teachers", "cheaters", "PAN", "ear", "era", "hectares"];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue