4 ms·
Which is nuts, because you can also just write your own little one-liner to manipulate the title ```ts const setTitle = (t: string): void => document.title =
by chadlavi 6y ago
Which is nuts, because you can also just write your own little one-liner to manipulate the title
```ts
const setTitle = (t: string): void => document.title = t
```
- chownie 6y agoYeah, that would've been great but it was a shared codebase among many teams and one of the hard rules was no access to stuff like document :( We also couldn't console.log in this codebase, it was very ideologically pure but it took ages to make any changes
- 5Qn8mNbc2FNCiVV 6y agoSounds to me more insane than pure