We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6983810 commit e6b3f72Copy full SHA for e6b3f72
challenges/collections.md
@@ -835,7 +835,7 @@ Array.prototype.average = function (){
835
if (!Array.prototype.filter) {
836
Array.prototype.filter = function(callback) {
837
838
- if(typeof callbak !== "function")
+ if(typeof callback !== "function")
839
throw new Error("Argument passed has to be a function");
840
841
let newArray = [];
0 commit comments