Does this get garbage collected?

var el = (function() {
  var templateString = template.render();
  var wrapper = document.createElement('div');
  wrapper.innerHTML = templateString;

  var result = wrapper.firstChild;
  // Zero out the innerHTML to ensure
  // no reference to the resulting node.
  wrapper.innerHTML = '';

  return result;
})();