unit v.name === voice); if (match) u.voice = match; } u.onend = () => playing = false; u.onerror = () => playing = false; window.speechSynthesis.speak(u); " class="shrink-0 rounded-full p-2.5 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-500" > Noun A1 – Beginner A single, complete thing, or a fixed standard amount used for measuring. "Each apartment in the building is a separate rental unit." "Unit" also names a standard measurement, like a unit of length or a unit of currency.