Raymond Felton scored 25 points and the New York Knicks stayed undefeated by rallying to beat the Spurs, 104-100, Thursday night in San Antonio.

J.R. Smith added 17 points, Jason Kidd had 14 and Tyson Chandler 13 for the Knicks (6-0), who closed on a 22-11 run to remain the NBA’s lone unbeaten team.

Tony Parker led San Antonio (7-2) with 19 points and 12 assists. Kawhi Leonard added 16 points and Tim Duncan had 14 points and 14 rebounds.

Advertisement - Continue Reading Below

Smith and Kidd hit consecutive 3-pointers to give the Knicks a 100-95 lead with a minute left.

Heat 98, Nuggets 93 — LeBron James had 27 points and 12 assists, and Miami, playing without an injured Dwyane Wade (foot), ended a decade-long victory drought in Denver.

Shane Battier added 18 points — all on 3-pointers.