codeql/javascript/ql/test/library-tests/Patterns/PropertyPattern_getName.ql

6 строки
153 B
Plaintext

import javascript
from PropertyPattern pp, string name
where (if exists(pp.getName()) then name = pp.getName() else name = "<unknown>")
select pp, name