the menu object also contains an attribute called items whose value can be one or more menuitem objects.
menu对象还包含一个名为items 的属性,该属性的值可以是一个或多个menuitem对象。
lines 49 to 52 define the menu and menuitem for the add, find, and clear actions, which can be accessed from drop-down menus when the application is deployed and run.