---
source: crates/rolldown_testing/src/integration_test.rs
---
# Assets
## entry1.js
```js
//#region entry1.js
function shouldMangle() {
let foo = {
bar_: 0,
baz_() {}
};
let { bar_ } = foo;
({bar_} = foo);
class foo_ {
bar_ = 0;
baz_() {}
static bar_ = 0;
static baz_() {}
}
return {
bar_,
foo_
};
}
function shouldNotMangle() {
let foo = {
"bar_": 0,
"baz_"() {}
};
let { "bar_": bar_ } = foo;
({"bar_": bar_} = foo);
class foo_ {
"bar_" = 0;
"baz_"() {}
static "bar_" = 0;
static "baz_"() {}
}
return {
"bar_": bar_,
"foo_": foo_
};
}
//#endregion
export { shouldMangle, shouldNotMangle };
```
## entry2.js
```js
//#region entry2.js
var entry2_default = {
bar_: 0,
"baz_": 1
};
//#endregion
export { entry2_default as default };
```