Is there a javascript equivalent of .= for self concatenating?

javascript

Solution

Use `+=`

var s = 'begin';
s += 'ning';

Problem

Rather than doing ``` my_var = my_var+'extra string'; ``` is there a shorthand method like .= in php?

Original source