¿Cómo saber si un checkbox está seleccionado en JavaScript?

¿Cómo saber si un checkbox está seleccionado en JavaScript?