Predict the output of the following JavaScript code:
var colors = ['Red', 'Blue', 'Green'];
document.write(colors.pop() + "
");
document.write(colors.push('Yellow') + "
");
document.write(colors.join('& amp;') + "
");
document.write(colors.slice(1, 3));