Baby passes out from crying

My son cries so hard that he pass out then wakes up like nothings wrong. The doctor said its normal and he will grow out of it.