Test case details

Preparation Code

var TOTAL = 3000000;

Test cases

Test #1

var poop = ""; for (var i = 0; i < TOTAL; i++) {   poop += "turtle HEAD! " + i + " :Your mom likes turtle heads!!"; } return poop;

Test #2

var poop = []; for (var i = 0; i < TOTAL; i++) {   poop.push("turtle HEAD! ");   poop.push("i");   poop.push(" :Your mom likes turtle heads!!"); } return poop.join('');