I suppose you mean "last laugh" as in "Jack had the last laugh". It comes from the saying, "He who laughs last laughs best". It means, roughly, that if someone plays a joke on you or humiliates you in order to laugh at you, you may be able to turn that around to your advantage and laugh at them, perhaps by playing an even bigger joke on them or by coming out the situation even better than before.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.