1.location address bar in the browser
location.href get the full address in the address bar, which can jump to the page by setting the href attribute
Refresh the page several ways:
location.href = "";
location.reload;
history.go(0);
2.navigator.useAgene obtain browser version
3.history objects
Forward: history.forword
Back: history.back
history.go (num); num value is
Shorting operator (&& ||)
1. && left to right, looking for a false value, if found false return value, the code behind does not perform, did not return a true value last
2. || left to right, looking for true value, if found true value returns a true value, after the code is not executed, we did not find a false returns the last value