---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# location

The **`location`** read-only property returns a
[`Location`](../globals/WorkerLocation/WorkerLocation.mdx) object with information about the current location of the
document.

See [`Location`](../globals/WorkerLocation/WorkerLocation.mdx) for all available properties.

## Value

A [`Location`](../globals/WorkerLocation/WorkerLocation.mdx) object.
