code: function (response) {
  
    // order so it appears at the top
    var el = document.createElement('div'),
        li = document.createElement('li'),
        span = document.createElement('span'),
        parent = output.parentNode;
  
    historyPosition = history.length;
  
    if (typeof response === 'undefined') return;
  
    el.className = 'response';
    span.innerHTML = response[1];
  
    if (response[0] != 'info') prettyPrint([span]);
    el.appendChild(span);
  
    li.className = response[0];
    li.innerHTML = '<span class="gutter"></span>';
    li.appendChild(el);
  
    appendLog(li);
  
    exec.value = '';
    if (enableCC) {
      try {
        if (jsbin.panels && jsbin.panels.focused.id === 'console') {
          if (!jsbin.embed) {
            getCursor().focus();
          }
          document.execCommand('selectAll', false, null);
          document.execCommand('delete', false, null);
        }
      } catch (e) {}
    }
  
  }
docs: Display the result of a command to the user