<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [JSC] add missing RequireObjectCoercible() step in destructuring"
href="https://bugs.webkit.org/show_bug.cgi?id=151596#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [JSC] add missing RequireObjectCoercible() step in destructuring"
href="https://bugs.webkit.org/show_bug.cgi?id=151596">bug 151596</a>
from <span class="vcard"><a class="email" href="mailto:caitp@igalia.com" title="Caitlin Potter (:caitp) <caitp@igalia.com>"> <span class="fn">Caitlin Potter (:caitp)</span></a>
</span></b>
<pre>Also, without a new opcode, it won't do the "right" thing for masquerading types, eg `var [a, b, c] = document.all` would be a TypeError when it shouldn't be (HTMLCollection is iterable, and has an ArrayIterator, per <a href="http://heycam.github.io/webidl/#es-iterators">http://heycam.github.io/webidl/#es-iterators</a>)
but it's fine if someone else wants to add the new opcodes later on</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>