User:Flo/jstitle: Difference between revisions
< User:Flo
(Created page with "<source="javascript"> const titles = ["Digital", "Aquarium", "🐠🐠🐠"]; let i = 0; setInterval(() => { i = i % 3; docume...") |
No edit summary |
||
Line 1: | Line 1: | ||
<source="javascript"> | <source lang="javascript"> | ||
const titles = ["Digital", "Aquarium", "🐠🐠🐠"]; | const titles = ["Digital", "Aquarium", "🐠🐠🐠"]; |
Latest revision as of 09:16, 12 April 2021
const titles = ["Digital", "Aquarium", "🐠🐠🐠"];
let i = 0;
setInterval(() => {
i = i % 3;
document.title = titles[i];
i++;
}, 1000);