Currently creates an object like this:
(Object.defineProperty(tmp = CookedArray, 'raw', Object.freeze(RawArray),
Object.freeze(tmp))
This can be done without temp variable
Object.freeze(Object.defineProperties(CookedArray, {
raw: {
value: Object.freeze(RawArray)
}
});
Original issue reported on code.google.com by arv@chromium.org on 11 Nov 2012 at 6:27
Original issue reported on code.google.com by
arv@chromium.org
on 11 Nov 2012 at 6:27