Skip to content

Commit a124b54

Browse files
committed
fixed issue
1 parent f6a56dd commit a124b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter07/01-Dictionaries.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function Dictionary(){
1515
};
1616

1717
this.has = function(key){
18-
return items.hasOwnProperty(value);
18+
return items.hasOwnProperty(key);
1919
//return value in items;
2020
};
2121

0 commit comments

Comments
 (0)