If setInterval(newInterval) is called while the timer is active?

Assuming the remaining time is more than newInterval, what happens?

1) The timer keeps running until the previous interval time expires, then interval changes to newInterval
2) The timer keeps running and times out at newInterval later?
3) The timer keeps running and times out based on an updated remainingTime?