Skip to main content
Question

JavaScript function erroring out


Forum|alt.badge.img+5

Hi Everyone, I’m trying to implement a function to look at MM/dd/yyyy values passed from the deliveryDateList variable, and change the month from 12 to 1, and increase the year by one using JavaScript. I’ve shown this code to chatGPT (and made changes per it’s suggestion) but I still get a ‘Bot Error’ message. 

Can someone point out what I’m doing wrong?

 

 

 

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings