+ Concatenare
+= Înlănțuire și atribuire
Code: Select all
str = "ab" + "cd" ; // "abcd"
str += "e" ; // "abcde"
str2 = "2" + 2 // "22", not "4" or 4. str2 = "2" + 2 // "22" nu, "4", sau 4.
Game | Status | IP | Server Name | Stats | Staff | Vote | |
---|---|---|---|---|---|---|---|
![]() |
![]() |
|
![]() |
![]() |
![]() |
||
![]() |
![]() |
|
![]() |
![]() |
![]() |
Code: Select all
str = "ab" + "cd" ; // "abcd"
str += "e" ; // "abcde"
str2 = "2" + 2 // "22", not "4" or 4. str2 = "2" + 2 // "22" nu, "4", sau 4.