06:24 | <haxjs> | `Promise({})` v8 error info "undefined is not a promise" is really confusing... |
06:28 | <Bakkot> | haxjs: I believe V8 accepts bugs which are just "this is a bad error message" |
06:28 | <Bakkot> | there might already be one for that, but if not you could file one |
06:32 | <Bakkot> | they have more reasonable messages for things like `Map()`: "Constructor Map requires 'new'" |
06:32 | <Bakkot> | so I'm guessing this one is just an oversight, which hopefully wouldn't be too hard to fix |
06:58 | <haxjs> | Bakkot https://bugs.chromium.org/p/v8/issues/detail?id=10817 filed. |
15:43 | <devsnek> | haxjs: it's a pretty simple fix if you want to contribute to v8 :D |