How are Japanese people amongst the healthiest people on Earth when their food contains lots of salt and sugar?

日本人的饮食中含有大量的盐和糖,他们怎么还能成为世界上最健康的人的?