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