rolldown 1.0.0

Fast JavaScript bundler in Rust, designed for the future of Vite
Documentation
function foo(x = this) { console.log(this) }
const objFoo = {
	foo(x = this) { console.log(this) }
}
class Foo {
	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))
}