‘Crack’ can be used interchangeably with the likes of LOL, ROLF or LMAO. It’s a shorthand way of expressing ‘that joke cracked me up’! Instead of using a grammatically correct sentence, simply laugh and point to the friend who made the joke and yell ‘crack’ at them to portray gratitude for the smashing joke.