"To give up on a whim" 是一个常用的表达,意思是随便放弃。例如:"She decided to give up on her job on a whim and move to a new city." 这句话的意思是她随便放弃了工作,搬到了一个新城市。

另外,"to give up on the spur of the moment" 也可以用来表示随便放弃的意思。例如:"He gave up on his dream on the spur of the moment when he reapzed how much hard work it would take." 这句话的意思是他意识到要付出多少努力之后,随便放弃了梦想。