The Nasdaq hit a fresh all-time high on Thursday of 5,342.88.