https://codereview.chromium.org/11369154/diff/1004/src/object-observe.js File src/object-observe.js (right):
https://codereview.chromium.org/11369154/diff/1004/src/object-observe.js#newcode235 src/object-observe.js:235: InstallFunctions(notifierPrototype, DONT_ENUM, $Array( On 2012/11/09 16:02:27, rossberg wrote:
On 2012/11/09 15:22:22, arv wrote: > Andreas, why are these using $Array(...) instead of [...]?
I'd use literals, but it doesn't really matter. Adam, your call. :)
I'd like to leave these as-is and do a cleanup of all the .js files in this directory, which all use $Array when calling InstallFunctions during bootstrap. Agreed that literals would be nicer but I'm going for consistency here. https://codereview.chromium.org/11369154/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
