/=
divide uma variável por outro número. myVar = myVar / 5;
Vai dividir myVar
por 5
. Isso pode ser reescrito como: myVar /= 5;
a
, b
e c
para usar o operador /=
. a
deve ser igual a 4
testString: 'assert(a === 4, "a
should equal 4
");'
- text: b
deve ser igual a 27
testString: 'assert(b === 27, "b
should equal 27
");'
- text: c
deve ser igual a 3
testString: 'assert(c === 3, "c
should equal 3
");'
- text: Você deve usar o operador /=
para cada variável
testString: 'assert(code.match(/\/=/g).length === 3, "You should use the /=
operator for each variable");'
- text: Não modifique o código acima da linha
testString: 'assert(/var a = 48;/.test(code) && /var b = 108;/.test(code) && /var c = 33;/.test(code), "Do not modify the code above the line");'
```