The navigation read-only property of the Window interface returns the current window's associated Navigation object.
This is the entry point for the Navigation API.
A Navigation object instance.
let currentNavEntries = window.navigation.entries();