diff --git a/exercises/partial_application_without_bind/solution/solution.js b/exercises/partial_application_without_bind/solution/solution.js index 91befad..170652c 100644 --- a/exercises/partial_application_without_bind/solution/solution.js +++ b/exercises/partial_application_without_bind/solution/solution.js @@ -2,7 +2,7 @@ var slice = Array.prototype.slice function logger(namespace) { return function() { - console.log.apply(console, [namespace].concat(slice.call(arguments))) + console.log.apply(console, [namespace].concat(Array.prototype.slice.call(arguments))) } }