Skip to content

Commit 0035140

Browse files
committed
replaced var - let
1 parent ddda1f9 commit 0035140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter06/01-Set.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function Set() {
1616
return false;
1717
};
1818

19-
this.remove = function(value){
19+
this.delete = function(value){
2020
if (this.has(value)){
2121
delete items[value];
2222
return true;

0 commit comments

Comments
 (0)