Returns the natural base URI for the current platform.
When running in a browser this is the current URL (from window.location.href).
window.location.href
When not running in a browser this is the file URI referencing the current working directory.