Try this:
if (--timer < 0) {
    display.textContent = "some text";
}
4
solved Replace countdown with text when it reaches 0?
 
Try this:
if (--timer < 0) {
    display.textContent = "some text";
}
4
solved Replace countdown with text when it reaches 0?