Throw when compiling spread in super() but not classes (#12722)
* Throw when compiling spread in `super()` but not classes * Add comment
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class A extends B {
|
||||
constructor() {
|
||||
super(...foo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user