>-----Original Message----- >David-Sarah Hopwood wrote: .. > >or "Array" [but that doesn't affect my point] > >Note that the algorithms in the JSON section check whether [[Class]] is >"Array" directly; they should probably be using Array.isArray. >
Actually, it is probably better for algorithms to directly check, rather than invoke the user level Array.isArray function. The latter is a "up call" within the implementation layers. If the [[Class]]== 'Array' check was done a lot and was too verbose then an specification function could be defined for it. That specification function should then be used to specify Array.isArray. allen _______________________________________________ Es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

