mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Merge pull request #16054 from asgerf/js/call-graph-improvement2
JS: more implied receiver steps
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import 'dummy';
|
||||
|
||||
function fooFactoryFactory() {
|
||||
return function fooFactory() {
|
||||
return function foo() {
|
||||
/** calls:F.member */
|
||||
this.member();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function F() {
|
||||
this.foo = fooFactoryFactory()();
|
||||
}
|
||||
|
||||
/** name:F.member */
|
||||
F.prototype.member = function() {
|
||||
return 42;
|
||||
};
|
||||
Reference in New Issue
Block a user