Gotta agree with everyone - they're fearless
I bet you did have a heart attack - I would have too - that's very very high for a regular dog to jump let alone a tiny yorkie - you were lucky the outcome wasn't worse.....
not too long ago a very well known member here lost her girl to a deck......

she was already a very grown yorkie and not a puppy - but impulses take over with these guys