+=
). someAdjective
إلى myStr
باستخدام +=
عامل التشغيل. someAdjective
يجب تعيين إلى سلسلة 3 أحرف على الأقل طويلة
testString: 'assert(typeof someAdjective !== "undefined" && someAdjective.length > 2, "someAdjective
should be set to a string at least 3 characters long");'
- text: إلحاق someAdjective
إلى myStr
باستخدام +=
عامل التشغيل
testString: 'assert(code.match(/myStr\s*\+=\s*someAdjective\s*/).length > 0, "Append someAdjective
to myStr
using the +=
operator");'
```