refered to when accomplishing or completing something great or beastly. As if you were going to dance or celebrate after completing the task.
Jim: (slam dunks on LeBron James)
Jim: yeah that's right, do the nasty hasty!
Jim: (slam dunks on Lebron James)
John: "dang, he did the nasty hasty on 'em"