Added some comments

pull/23/head
Lim Jing Rong 8 years ago committed by GitHub
parent c8b3a96fee
commit 49a86ecb31

@ -1,7 +1,11 @@
/*
* Doubly LinkedList with functionalities of
* add
* contains
* add: Add node to list
* contains: Check if the list contains a certain value (Not a strict object comparison)
* getCurrentNode
* toString(): Prints the LinkedList representation
* next()
* previous()
*/
class Node {
constructor(_value) {

Loading…
Cancel
Save