//https://codetogo.io?lang=en const url = new URL(document.location); const lang = url.searchParams.get("lang");
en