He got the last laugh.
A couple of cackling crooks tried to rob a Chinese food deliveryman in Harlem — but the tough-as-nails victim fought them off, cops said on Wednesday night.
An unknown caller ordered food from Peking Kitchen II Chinese restaurant on Monday night and asked for the delivery to be made to a fourth-floor apartment at nearby 269 West 113th St. When the 56-year-old deliveryman arrived at the address around 8:50 p.m., one of his soon-to-be attackers let him in, police said.
But when the unsuspecting restaurant employee tried to deliver the food to the designated apartment, the residents told him they hadn’t ordered any food, cops said.
Meanwhile, surveillance footage released by police shows the goons playing on lower-level stairs — with the gunman jokingly pointing the weapon at his accomplice while they both crack up laughing.
As the restaurant employee descends the stairs moments later, the gunman grabs his victim, points the gun at him and orders the man to hand over his money.
But the fed-up deliveryman pushes off his attacker twice before the failed thieves flee down the stairs and out the door.
The victim was not injured and the incident is under investigation.
Police describe the two men as 16 to 25 years old.