mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
12 lines
168 B
JavaScript
12 lines
168 B
JavaScript
class A extends null {
|
|
constructor() {
|
|
// OK - calls `Function.prototype`
|
|
super();
|
|
}
|
|
}
|
|
|
|
class B extends 42 {
|
|
constructor() {
|
|
super(); // $ Alert
|
|
}
|
|
} |