RJ Barrett made the go-ahead layup with 18 seconds to play Monday night as part of a 16-point night and the Toronto Raptors held off the visiting Charlotte Hornets 110-108.