They definitely did not escape any recent war.
The WWII in Scandinavia was particularly bad, including the occupation of Norway and Denmark.
https://en.m.wikipedia.org/wiki/Operation_Weserübung
They did escape the contemporary ones the same way any other country in Europe did anyway.