Test case details

Preparation Code

Test cases

Test #1

var foo = 'a' + 'b' + 'c' + 'd';

Test #2

var foo = 'a'; foo += 'b'; foo += 'c'; foo += 'd';

Test #3

var foo = 'a'; foo = foo + 'b'; foo = foo + 'c'; foo = foo + 'd';

Test #4

var foo = ['a', 'b', 'c', 'd'].join('');

Test #5

var b = new Array('a', 'b', 'c', 'd'); b = b.join('')