Array plus assign (+=)



Array += (plus assign)
Pas2JS pascal source code
var a : array of Integer; begin a += 1; a += [2, 3]; a.Add([4, 5]); a += a; WriteLn(a.Map(IntToStr).Join(',')); { CONSOLE OUTPUT 1,2,3,4,5,1,2,3,4,5 }