var obj = { set field(num) { if (num === void 0) { num = 1; } this.num = num; } };