https://codereview.chromium.org/363833006/diff/290001/test/mjsunit/harmony/array-from.js
File test/mjsunit/harmony/array-from.js (right):
https://codereview.chromium.org/363833006/diff/290001/test/mjsunit/harmony/array-from.js#newcode111
test/mjsunit/harmony/array-from.js:111: testArrayFrom(Other, Other);
On 2014/09/10 14:26:05, caitp wrote:
On 2014/09/10 07:23:55, rossberg wrote:
> Cover more cases here, e.g. a function with @@iterator, a function
that is not
a
> constructor. Also test what happens on primitive constructors, esp
String.
Can you provide examples of functions which we would not consider
constructors?
I think .bind() is supposed to behave this way, as well as arrow
functions ---
but I'm not sure if they actually _do_ behave this way currently.
Yes, a test with .bind would be good. Also, most ES library functions
are not constructors.
https://codereview.chromium.org/363833006/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.