text: import ownerDocument from './ownerDocument';
  
  function ownerWindow(node) {
    var fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : window;
    var doc = ownerDocument(node);
    return doc.defaultView || fallback;
  }
  
  export default ownerWindow;