On Fri, Nov 11, 2011 at 1:05 AM, Jonas Sicking <[email protected]> wrote: > And to ensure that the object acts as much as possible as an array it > should also have it's [[Class]] set to that of an array. This has > subtle effects on a number of functions. For example it affects what > Object.toString() and Array.isArray returns, it affects how > Array.concat behaves, and it affects the JSON serializer.
Could you point me to an explanation of what [[Class]] represents in ecmascript? It's a little hard to search for. > Another way to fix this problem would be to change the definition of > Array.prototype.filter, but I have no idea if that's doable, or how > that would be done. I prefer this if possible. > What do people think? +1 ~TJ
