The em-dash has more uses than that. I can't say I'd use it the way it is used in example 1, but example 2 is very natural. " It's a very flexible punctuation mark.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.