1
I’m studying Javascript and, as I understand it, when assigning an attribute to a function, it’s like creating a variable within that function, that’s it?
For example:
Original function:
function copaMundo() {}
Assigning a property and an attribute to the function:
copaMundo.pais = "Rússia";
Serious that the final result:?
function copaMundo() {
var pais = "Rússia";
}
The answer to that question does not answer your question?
– bio