generate new test that did already exist & update all module snippets with declaration
This commit is contained in:
@ -1 +1 @@
|
||||
module.exports = (arr, val) => arr.reduce((a, v) => (v === val ? a + 1 : a + 0), 0);
|
||||
module.exports = countOccurrences = (arr, val) => arr.reduce((a, v) => (v === val ? a + 1 : a + 0), 0);
|
||||
Reference in New Issue
Block a user