--- id: 56533eb9ac21ba0edf2244b2 title: Compound Assignment With Augmented Division challengeType: 1 videoUrl: '' localeTitle: 具有增广划分的复合赋值 --- ## Description
/=运算符将变量除以另一个数字。 myVar = myVar / 5;myVar除以5 。这可以改写为: myVar /= 5;
## Instructions
转换abc的赋值以使用/=运算符。
## Tests
```yml tests: - text: a应该等于4 testString: assert(a === 4); - text: b应该等于27 testString: assert(b === 27); - text: c应该等于3 testString: assert(c === 3); - text: 您应该为每个变量使用/=运算符 testString: assert(code.match(/\/=/g).length === 3); - text: 不要修改行上方的代码 testString: assert(/var a = 48;/.test(code) && /var b = 108;/.test(code) && /var c = 33;/.test(code)); ```
## Challenge Seed
```js var a = 48; var b = 108; var c = 33; // Only modify code below this line a = a / 12; b = b / 4; c = c / 11; ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```