When it comes to avoiding the creation of multiple variables with the same type, I've decided to declare them like this:
data () {
return {
today,tomorrow: new Date(),
};
},
However, all I see in my IntelliJ terminal is an error message.
The error 'today' is not defined. no-undef
Did I make a mistake in the syntax, or is the process simply not possible?