pub fn location( &self ) -> Option< Location > {
        unsafe {
            js!(
                return @{self}.location;
            ).into_reference_unchecked()
        }
    }
/// Returns a [Location](struct.Location.html) object which contains
/// information about the URL of the document and provides methods
/// for changing that URL and loading another URL.
///
/// [(JavaScript docs)](https://developer.mozilla.org/en-US/docs/Web/API/Window/location)
Returns a [Location](struct.Location.html) object which contains
information about the URL of the document and provides methods
for changing that URL and loading another URL.


Returns a [ Location ] ( struct . Location . html ) object which contains information about the URL of the document and provides methods for changing that URL and loading another URL .
pub fn location( &self ) -> Option< Location > {
        unsafe {
            js!(
                return @{self}.location;
            ).into_reference_unchecked()
        }
    }
pub fn location ( & self ) -> Option < Location > { unsafe { js ! ( return { self } location ) . into_reference_unchecked ( ) } }
Returns a [Location](struct.Location.html) object which contains
information about the URL of the document and provides methods
for changing that URL and loading another URL.
Returns a [ Location ] ( struct . Location . html ) object which contains information about the URL of the document and provides methods for changing that URL and loading another URL .
&self
&self