We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6a56dd commit a124b54Copy full SHA for a124b54
chapter07/01-Dictionaries.js
@@ -15,7 +15,7 @@ function Dictionary(){
15
};
16
17
this.has = function(key){
18
- return items.hasOwnProperty(value);
+ return items.hasOwnProperty(key);
19
//return value in items;
20
21
0 commit comments