Skip to content

Commit e6b3f72

Browse files
authored
Update collections.md
1 parent 6983810 commit e6b3f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

challenges/collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ Array.prototype.average = function (){
835835
if (!Array.prototype.filter) {
836836
Array.prototype.filter = function(callback) {
837837
838-
if(typeof callbak !== "function")
838+
if(typeof callback !== "function")
839839
throw new Error("Argument passed has to be a function");
840840
841841
let newArray = [];

0 commit comments

Comments
 (0)