mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Fixes setter paratemer default value * Not changes doesn't mutate loose variable
6 lines
64 B
JavaScript
6 lines
64 B
JavaScript
const obj = {
|
|
set field(num = 1) {
|
|
this.num = num;
|
|
}
|
|
};
|