Skip to content

Instantly share code, notes, and snippets.

@PAEz
PAEz / gist:3780081
Created September 25, 2012 04:59
HashArray - Incomplete
function HashArray() {
this.array = [];
this.hash = {};
this.__defineGetter__("length", function() {
return this.array.length;
});
this.set = function(key, value) {
if (typeof(key) === 'string') {