I'm studying JS, so I understand, when assigning an attribute to a function, it's like creating a variable within that function, is that it? for example:
Original function:
function copaMundo() {}
Assigning a property and an attribute to the function:
copaMundo.pais = "Rússia";
Would this be the end result:?
function copaMundo() {
var pais = "Rússia";
}