U.S. stocks bounced around Wednesday and finished little changed after Congress passed the Republican-sponsored tax bill. Smaller companies fared the best.

On Wednesday:

The Standard & Poor’s 500 index slipped 2.22 points, or 0.1 percent, to 2,679.25.

The Dow Jones industrial average lost 28.10 points, or 0.1 percent, to 24,726.65.

The Nasdaq composite declined 2.89 points, or less than 0.1 percent, to 6,960.96.

The Russell 2000 index of smaller-company stocks added 3.33 points, or 0.2 percent, to 1,540.08.

For the week:

The S&P 500 is up 3.44 points, or 0.1 percent.

The Dow is up 74.91 points, or 0.3 percent.

The Nasdaq is up 24.38 points, or 0.4 percent.

The Russell 2000 is up 9.65 points, or 0.6 percent.

For the year:

The S&P 500 is up 440.42 points, or 19.7 percent.

The Dow is up 4,964.05 points, or 25.1 percent.

The Nasdaq is up 1,577.84 points, or 29.3 percent.

The Russell 2000 is up 182.95 points, or 13.5 percent.