Question d’entretien chez Rah Rah

Ex: what is the '?' used for in in typescript: function foo(param1: string, param2?: string)