Escriu un script en JavaScript per imprimir la data i l'hora actuals.
output: var newDate = new Date();
var currentDateTime = newDate.toLocaleString();
console.log(currentDateTime);