Accessing web page title
Prints the current web page title
console.log(document.title);
Updates the current web page title
document.title = 'Getting started with JavaScript';
by Valeri Tandilashvili
4 years ago
JavaScript
2
Pro tip: use ```triple backticks around text``` to write in code fences