Other countries got screwed when doing that because the US used to have the world currency and could print money essentially without repercussions.
Note the past tense as this advantage is now gone with Trump.