used to say that sb has a sudden feeling of fear, excitement, etc.
sb's heart misses a beat
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition