add comment

This commit is contained in:
lichao 2019-05-09 16:57:41 +08:00
parent 60d818eeec
commit 7228176686

View File

@ -100,7 +100,7 @@ LList.insert('zhou', 'zhao') // 尾元素后插入
LList.display() // chen -> qian -> curry -> sang -> zhao -> zhou
console.log('-------------remove item------------')
LList.remove('curry')
LList.display()
LList.display() // chen -> qian -> sang -> zhao -> zhou
console.log('-------------find by item------------')
LList.findByValue('chen')
console.log('-------------find by index------------')