How did World War 2 affect the American economy?

it helped pull us out of the great depression.