Skip to content

Instantly share code, notes, and snippets.

View garethmaybery's full-sized avatar

garethmaybery

View GitHub Profile
/*
* Pre-ECMAScript 1, JavaScript didn't have native arrays.
* Those who needed them frequently used functions such as the following.
* Also note that there was no special "undefined" value.
*/
function makeArray(len){
var array = new Object();