rolldown 1.0.3

Fast JavaScript bundler in Rust, designed for the future of Vite
Documentation
---
source: crates/rolldown_testing/src/integration_test.rs
---
# Assets

## entry.js

```js
//#region entry.ts
function foo(x = this) {
	console.log(this);
}
const objFoo = { foo(x = this) {
	console.log(this);
} };
var Foo = class {
	constructor() {
		this.x = this;
	}
	static {
		this.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 {
		constructor() {
			this.x = this;
		}
		static {
			this.y = this.z;
		}
		foo(x = this) {
			console.log(this);
		}
		static bar(x = this) {
			console.log(this);
		}
	}
	new Bar(bar(objBar));
}
//#endregion

```