Sorry, messed up the defineProperty version: Object.defineProperty(Array.prototype, 'b', { get: function () { var array = this; return { c : function () { console.log(array); return array; } } }, set: function () {}, enumerable: false });
-- Poetro -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/ To search via a non-Google archive, visit here: http://www.mail-archive.com/jsmentors@googlegroups.com/ To unsubscribe from this group, send email to jsmentors+unsubscr...@googlegroups.com