CEO Brian Cornell pointed to momentum in the business, which did see much of its traffic come back and a big improvement in digital sales.