Sets or replaces the menu item’s submenu, or removes it when a null submenu is passed.
the submenu, or null
Sets or replaces the menu item’s submenu, or removes it when a null submenu is passed.