Write a function named formatDateTime that receives two parameters:
datelocaleThe function should return a new string, formatted according to the locale. See below examples for more details.
Hint: use the Intl.DateTimeFormat API
date
=locale
=date
=locale
=