Etymology
Today it means: Maybe; perhaps; possibly; perchance. Full definition →
From the phrase “it may hap”.
Etymology from Wiktionary, CC BY-SA 4.0.