Jeremy Lamb "never in a million years" thought his incredible shot from beyond half-court at the buzzer would prove to be a game-winner for the Hornets against the Raptors.

The swingman lost possession after taking an inbounds pass with 3.1 seconds remaining, but chased the ball down into the backcourt, turned and fired a hopeful effort that somehow dropped in to earn the Hornets a 115-114 victory.

Those inside the Scotiabank Arena in Toronto reacted in disbelief and Lamb was equally astounded.

"When I first shot it, it felt good, but in my head I was thinking, 'It's too good to be true if it goes in'," he told reporters after the game.

"I never in a million years thought it would go in. I thought it would get close but to see it go in, it was unreal."