
Laugh, scream, etc. your head off
Exaggeration
The phrase uses hyperbole and doesn't mean literally losing one's head. 
Intensity
This phrase emphasizes a very high degree of emotion. 
Informal
It's casual language, appropriate for friendly conversations, not formal ones. 