What is the meaning of the word "ha-ha"?

Definitions:

  1. A ditch with a wall on its inner side below ground level, forming a boundary to a park or garden without interrupting the view. copy to clipboard NOUN
    • At the edge of the garden, a ha-ha allows you to look directly out over the outer park and its fine trees. copy to clipboard
  2. Used to represent laughter or amusement. copy to clipboard NOUN
    • 'Oh ha ha, very funny,' I said. copy to clipboard

Synonyms: