They are both OK."I bought new jeans on a whim/on impulse." What would you use on a whim or on impulse?
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: