generate new test that did already exist & update all module snippets with declaration
This commit is contained in:
@ -1 +1 @@
|
||||
module.exports = (arr, n = 1) => [...arr].sort((a, b) => b - a).slice(0, n);
|
||||
module.exports = maxN = (arr, n = 1) => [...arr].sort((a, b) => b - a).slice(0, n);
|
||||
Reference in New Issue
Block a user