mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
JS: Update OK-style comments to $-style
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
class A extends null {
|
||||
constructor() {
|
||||
// OK: calls `Function.prototype`
|
||||
// OK - calls `Function.prototype`
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
class B extends 42 {
|
||||
constructor() {
|
||||
// NOT OK
|
||||
super();
|
||||
super(); // $ Alert
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user