Files
codeql/javascript/ql/experimental/adaptivethreatmodeling/test/generic_feature_testing/test.js
Esben Sparre Andreasen 17ce41165d address review comments
2022-04-29 16:58:22 +02:00

18 lines
387 B
JavaScript

(async function(){
f(endpoint);
f({p: endpoint});
f({p: {q: endpoint}});
o.m(endpoint);
o.m({p: endpoint});
o.m({p: {q: endpoint}});
new F(endpoint);
o.m().m().m(endpoint);
f()(endpoint);
o[x].m(endpoint);
o.m[x].p.m(endpoint);
(await p)(endpoint);
import("foo").bar.baz(endpoint);
function foo() {
bar(endpoint);
}
});