Question

JavaScript function erroring out

  • 2 May 2023
  • 0 replies
  • 103 views

Badge +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!

Reply