The US economy grew at 3% year on year in the second quarter, thanks to a jump in consumer spending and business investment, the Commerce Department’s Bureau of Economic Analysis said in a statement Thursday.