What does ‘wig out’ mean?

wig out

( v ) To lose control of yourself, go crazy. She wigged out when she saw me with my cousin.