mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
JS: Use explicit this
This commit is contained in:
@@ -494,7 +494,7 @@ class MemberDeclaration extends @property, Documentable {
|
||||
predicate isStatic() { is_static(this) }
|
||||
|
||||
/** Gets a boolean indicating if this member is static. */
|
||||
boolean getStaticAsBool() { if isStatic() then result = true else result = false }
|
||||
boolean getStaticAsBool() { if this.isStatic() then result = true else result = false }
|
||||
|
||||
/**
|
||||
* Holds if this member is abstract.
|
||||
|
||||
Reference in New Issue
Block a user