Skip to content

Js linked list#8

Open
chelseadole wants to merge 35 commits intomasterfrom
js-linked-list
Open

Js linked list#8
chelseadole wants to merge 35 commits intomasterfrom
js-linked-list

Conversation

@chelseadole
Copy link
Owner

No description provided.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should look up how to throw errors in Javascript

}
}

display() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So if your linked list contains [4] -> [5] -> [6] this will display (4,5,6,). Handle that trailing comma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments