I'd say neither Go nor JavaScript are predominantly used to solve complex problems. The main use cases for both are solving mundane problems by mundane programmers. In case of Go that's an explicit design philosophy.
That's... not really true. JavaScript solves trivial problems, and it's mainly popular because it's literally the only web language around.