Test case details

Preparation Code

rand = Math.random() < 0.5;

Test cases

Test #1

const gogo = ["wa","boo","too"].join(rand ? ':' : '');

Test #2

if (rand) { const gogo = "wa" + ":" + "boo" + ":" + "too"; } else { const gogo = "wa" + "boo" + "too"; }