blob: 74998c5a7f007dafa9b4a89a318d0326a7c86a43 [file] [log] [blame]
Object.defineProperty(Array.prototype, "lastValue",
{
get: function()
{
if (!this.length)
return undefined;
return this[this.length - 1];
}
});