1
It would be possible to create a single variable that has mutual influence by other names in it.
In other words, different names for the same statement var
, and in the end they will have the same value.
Example
I’m doing like this:
var perfume = "Racco"; var colonia = "Racco"; var roll-on = "Racco";
I wish something like that:
var perfume, colonia, roll-on = "Racco"
It doesn’t matter! Any of the three names, matches the same
new String();
.Just one
var
, with several names, to call only a single Valor.
How to do this? After declared more than one variable on the same line bring a single value for all of them.