U.S. stocks closed higher on Friday, with the Dow Jones index surging more than 300 points during the session. However, all three indices logged losses last week, with the Dow falling 2.27% to record its worst weekly performance in 2024, while the S&P 500 lost 0.95% during the week.