NEW YORK—Both the S&P 500 and the Nasdaq eked out record closing highs after a topsy-turvy Thursday on Wall Street, as investors focused on upbeat retail and technology earnings which outshone hawkish inflation comments from a Federal Reserve policymaker.
By contrast, the Dow continued to play the laggard, registering its third decline this week, as Cisco Systems Inc. weighed on the benchmark.