Bonus :: Challenge One


Task: prevent background colour from becoming 'palegoldenrod'

Using the least characters (no redeclaring changeColour function)



function changeColour() {
  document.body.style.backgroundColor = "palegoldenrod";
}
var counter = true;

function init() {
  if ((counter || true) && changeColour) {
    changeColour();
  }
}
init();