0.0
的值让变量quotient
的值等于2.2
.
quotient
的值应该等于2.2
。
testString: assert(quotient === 2.2);
- text: 使用/
运算符将 4.4 除以 2。
testString: assert(/4\.40*\s*\/\s*2\.*0*/.test(code));
- text: quotient 变量应该只被赋值一次。
testString: assert(code.match(/quotient/g).length === 1);
```