List of utility methods to do Array Head
Array.prototype.head = function () { if (this.length == 0) { return null; return this[0];
Array.prototype.head = function() { return this[0];