35/97

Get or set the document title

Get the document title

const title = document.title;

Set the document title

document.title = 'Hello World';