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 * Doubly LinkedList with functionalities of
* add * add: Add node to list
* contains * contains: Check if the list contains a certain value (Not a strict object comparison)
* getCurrentNode
* toString(): Prints the LinkedList representation
* next()
* previous()
*/ */
class Node { class Node {
constructor(_value) { constructor(_value) {

Loading…
Cancel
Save