1.AdverbUsed to say that an occurrence, or situation, is not only fortunate, but that on the contrary, it could have been a lot worse; or that something that might at first seem bad is actually good because it could have been worse.
"It's just as well you missed the train: it ended up crashing."
2.AdverbUsed other than figuratively or idiomatically: see just, as well, as, well.