Peter van der Zee (2014-03-02T17:04:28.000Z)
> Peter van der Zee <ecma at qfox.nl> wrote:
>
>>On Sun, Mar 2, 2014 at 4:18 AM, Domenic Denicola
>><domenic at domenicdenicola.com> wrote:
>>> You can just do `if (Symbol.iterator in potentialIterable)`.
>>
>>Does that work cross-frame?

On Sun, Mar 2, 2014 at 5:35 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> Yes

Okay, was wondering whether that could work for Array detection as
well. But perhaps that problem has already been solved, I haven't kept
up with that.

`if (Array[Symbol.isArray]) ...` feels like a fairly elegant cross
frame solution.

- peter
domenic at domenicdenicola.com (2014-03-02T22:48:02.721Z)
On Sun, Mar 2, 2014 at 5:35 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> Peter van der Zee <ecma at qfox.nl> wrote:
>>Does that work cross-frame?
>
> Yes

Okay, was wondering whether that could work for Array detection as
well. But perhaps that problem has already been solved, I haven't kept
up with that.

`if (Array[Symbol.isArray]) ...` feels like a fairly elegant cross
frame solution.