---
source: crates/rolldown_testing/src/integration_test.rs
---
# Assets
## entry.js
```js
//#region entry.js
function foo(x = this) {
console.log(this);
}
const objFoo = { foo(x = this) {
console.log(this);
} };
var Foo = class {
x = this;
static y = this.z;
foo(x = this) {
console.log(this);
}
static bar(x = this) {
console.log(this);
}
};
new Foo(foo(objFoo));
if (nested) {
function bar(x = this) {
console.log(this);
}
const objBar = { foo(x = this) {
console.log(this);
} };
class Bar {
x = this;
static y = this.z;
foo(x = this) {
console.log(this);
}
static bar(x = this) {
console.log(this);
}
}
new Bar(bar(objBar));
}
//#endregion
```