add comment
This commit is contained in:
parent
60d818eeec
commit
7228176686
@ -100,7 +100,7 @@ LList.insert('zhou', 'zhao') // 尾元素后插入
|
|||||||
LList.display() // chen -> qian -> curry -> sang -> zhao -> zhou
|
LList.display() // chen -> qian -> curry -> sang -> zhao -> zhou
|
||||||
console.log('-------------remove item------------')
|
console.log('-------------remove item------------')
|
||||||
LList.remove('curry')
|
LList.remove('curry')
|
||||||
LList.display()
|
LList.display() // chen -> qian -> sang -> zhao -> zhou
|
||||||
console.log('-------------find by item------------')
|
console.log('-------------find by item------------')
|
||||||
LList.findByValue('chen')
|
LList.findByValue('chen')
|
||||||
console.log('-------------find by index------------')
|
console.log('-------------find by index------------')
|
||||||
|
Loading…
Reference in New Issue
Block a user