function getNodeType(node) {
  return genericPropertyGet(
      Methods.NODE_TYPE_GETTER, node, 'nodeType', function(type) {
        return typeof type == 'number';
      });
}
Returns a node's nodeType without falling prey to things like
`<form><input name="nodeType"></form>`.
@param {!Node} node
@return {number}