mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-13 18:02:59 -05:00
526 B
526 B
title, localeTitle
| 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!"