freeCodeCamp/guide/arabic/certifications/javascript-algorithms-and-d.../basic-javascript/concatenating-strings-with-.../index.md

12 lines
526 B
Markdown
Raw Normal View History

---
title: Concatenating Strings with the Plus Equals Operator
localeTitle: سلاسل متسلسلة مع 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!"
`