Skip to content

Commit 3dc786c

Browse files
HashMapExample.html: fixed indenting.
1 parent 87416da commit 3dc786c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/HashMapExample.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
}
1616
hashCode(){
1717
const prime = 31;
18-
let result = 1;
19-
result = prime * result + this.x;
20-
result = prime * result + this.y;
21-
return result;
18+
let result = 1;
19+
result = prime * result + this.x;
20+
result = prime * result + this.y;
21+
return result;
2222
}
2323
equals(obj){
2424
return obj instanceof Point && obj.x === this.x && obj.y === this.y;

0 commit comments

Comments
 (0)