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

# console.dirxml()

The **`console.dirxml()`** method displays the supplied object in the console.

## Syntax

```js
dirxml(object)
```

### Parameters

- `object`
  - : A JavaScript object whose properties should be output.

### Return value

`undefined`.
