At a conference of mayors in Chicago, Mr. Obama congratulated himself Tuesday for strong employment numbers in the U.S. this year, saying his climate-change policies have contributed to growth.

“As we took these actions, we saw the U.S. economy grow consistently,” Mr. Obama said. “We saw the longest streak of job creation in American history by far, a streak that still continues by the way.”

He added wryly, “Thanks, Obama.”