Here’s what happened to the stock market on Wednesday

A rally in tech shares propelled the S&P 500 and Nasdaq to fresh record highs.A rally in tech shares propelled the S&P 500 and Nasdaq to fresh record highs.