I have this code that shows the date as "Mar 25 2022" for example. How can modify the code to display a comma between the day number and year? Like this: "Mar 25, 2022"
var d = (new Date()).toString().split(' ').splice(1,3).join(' ');
document.write(d)