Re-implementing single and double linked lists in Javascript

Many new developers come to programming through Javascript because it is ubiquitous on the web and can be used for basically anything. As a high-level scripting language, it has many built-in functions and available libraries that mean many developers never need to dive into special data structures.