JS: Add API graph test for explicit 'this' passing

This commit is contained in:
Asger F
2025-10-06 11:31:08 +02:00
parent a7173e0c05
commit 84c788a027
4 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1 @@
import ApiGraphs.VerifyAssertions

View File

@@ -0,0 +1,6 @@
{
"name": "explicit-this",
"dependencies": {
"something": "*"
}
}

View File

@@ -0,0 +1,7 @@
const lib = require('something');
function f() {
this.two(); /** use=moduleImport("something").getMember("exports").getMember("one").getMember("two").getReturn() */
}
f.call(lib.one);