JavaScript
A programming language that runs in the browser: makes pages interactive — buttons, forms, dynamic content.
Why in AI
- widgets and chatbots on the site;
- frontend RAG applications;
- browser automation through Playwright.
Nuance
On sites with instant navigation (MkDocs Material), scripts should use document$.subscribe, not DOMContentLoaded.