Brooklyn's Stephen Dennis drew a foul with 5 seconds left to play and the game tied at 96-all, but he missed both free throws. Teletovic was there for the offensive rebound and was fouled by Rob Kurz. Teletovic made the first foul shot, then missed the second and Boston called a timeout with 3.6 seconds left.
Boston got two more shots off, but missed both.
Pierce and Garnett sat out the fourth quarter and the Brooklyn reserves made a run on Boston's, taking a 96-95 lead on Tornike Shengalia's three-point play with 41 seconds left.
The Celtics and Nets play a preseason rematch Thursday night in Brooklyn.
Dave McMenamin explains how Paul George's decision to play for the United States team impacted LeBron James' decision to sit out of this year's summer games.
The NBA's Rookie of the Year won't be playing internationally for the United States, instead remains loyal to his Dominican roots.
Within just a few hours of Thursday night's NBA draft, the Oklahoma City Thunder are reportedly shopping Serge Ibaka.