Is it “would of” or “would have”?
Although “would of” is sometimes used in colloquial speech, the correct form is “would have” or the contraction “would’ve” (which can sound very similar to “would of” when spoken).
“Would” is a modal auxiliary verb and “have” can either be an auxiliary verb or a main verb. Modals and auxiliaries are used with a main verb to change its tense, mood, or voice.
When “would have” modifies a main verb, it often describes a conditional or hypothetical scenario in which something didn’t happen but could have happened if the situation had been different (e.g., “we would have gone to the beach if the weather was nicer”).