"object not iterable" error message for spread operators
Currently attempting "for <var> of" on a object without an iterator would yield a "Object doesn't support property or method 'Symbol.iterator'" error message, while using the spread operator on the same object would only generate a "Function expected" message, giving developers a hard time figuring out what's going on. Edge should improve on this error reporting.
Евгений Козлов commented
actually Edge does not support spread operator for objects at all(https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/31257100-spread-operator-for-object-literals) so this non-informative error message occurs because Edge's parser get "..." inside of object literal in wrong way. When that extension is shipped error will not occur at all.
Beni Cherniavsky-Paskin commented