You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The string for the new year "1 Jan 2021" is not day dynamic which is not a good idea of coding in JS.
I tried it this way:
const currentYearEve = "31 Dec " + new Date().getFullYear();
The text was updated successfully, but these errors were encountered:
The string for the new year "1 Jan 2021" is not day dynamic which is not a good idea of coding in JS.
I tried it this way:
const currentYearEve = "31 Dec " + new Date().getFullYear();
The text was updated successfully, but these errors were encountered: