michael@0: x = (/x/).exec(); michael@0: y = wrapWithProto((new WeakMap), x); michael@0: y.length = 7; michael@0: Array.prototype.push.call(y, 1); michael@0: Array.prototype.reverse.call(y);