"whimsical device, trifle," 1520s, of unknown origin; perhaps from Scandinavian (compare Old Norse hvima "to let the eyes wander," Norwegian kvima "to flutter"), or else an arbitrary native formation (compare flim-flam).[whimwham etymology, whimwham origin, 英语词源]