Skip to content

Commit 674af74

Browse files
Merge pull request wangzheng0822#277 from carinawei/patch-1
fix: remove useless param
2 parents b2bfa48 + 1c1d2be commit 674af74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/06_linkedlist/SinglyLinkedList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ LList.insert('curry', 'chen')
8686
LList.insert('sang', 'head')
8787
LList.insert('zhao', 'head')
8888
console.log('-------------remove item------------')
89-
LList.remove('curry', 'chen')
89+
LList.remove('curry')
9090
LList.display()
9191
console.log('-------------find by item------------')
9292
LList.findByValue('chen')

0 commit comments

Comments
 (0)