526 B
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!"