Skip to content

Commit dc6ab78

Browse files
authored
change: the data part should be named as my_data
1 parent 35c2fe9 commit dc6ab78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_DataStructures_/LinkedList/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class Node {
22
constructor(data, next) {
3-
this.data = data;
3+
this.my_data = data;
44
this.next = next;
55
}
66
}

0 commit comments

Comments
 (0)