+=
). someAdjective
e anexe-o ao myStr
usando o operador +=
. someAdjective
deve ser definido para uma string com pelo menos 3 caracteres
testString: 'assert(typeof someAdjective !== "undefined" && someAdjective.length > 2, "someAdjective
should be set to a string at least 3 characters long");'
- text: Anexar someAdjective
ao myStr
usando o operador +=
testString: 'assert(code.match(/myStr\s*\+=\s*someAdjective\s*/).length > 0, "Append someAdjective
to myStr
using the +=
operator");'
```