freeCodeCamp/guide/arabic/certifications/javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator/index.md
2018-10-16 21:32:40 +05:30

526 B

title localeTitle
Concatenating Strings with the Plus Equals Operator سلاسل متسلسلة مع Plus Equals Operator

سلاسل متسلسلة مع Plus Equals Operator

يمكن أن يقوم المشغل '+ =' بتسلسل (الوصلة) بسهولة. تأكد من أن التهجئة صحيحة ، وأنك تركت المساحات المناسبة.

var str = "Hello "; str += "coding"; // Now the string reads "Hello coding" str += "camper!"; // And now the string reads "Hello codingcamper!"