Re: [custom-elements-tests] Custom Elements: Element definition (#2940)

> Is IsConstructor(function () {}) false? I tried to read ES spec but can't get the answer. In this test, I assumed false.

It is true. IsConstructor returns false for arrow functions `() => {}` and for methods `({ m() { } }).m`.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/2940#issuecomment-216559093

Received on Tuesday, 3 May 2016 15:09:38 UTC