Skip to content

Instantly share code, notes, and snippets.

@Metallix
Metallix / linkedlist.js
Last active Dec 16, 2015
A simple linked list implementation in JavaScript.
View linkedlist.js
/*
LinkedList
Version: 1.0
Author: Metallix
Usage:
var list = new utils.LinkedList(); // Creates a new list
var item5 = list.push( 5 ); // Push a value to the end of the list. Returns a list item reference.