A
André Hänsel
Hello group.
function f() {
v = 1;
c = function () {
w = v + 1;
};
// Is there anything I can do here so I can use a variable named "v"
later on without changing the "v" inside the closure?
v = 2;
}
Regards,
André
function f() {
v = 1;
c = function () {
w = v + 1;
};
// Is there anything I can do here so I can use a variable named "v"
later on without changing the "v" inside the closure?
v = 2;
}
Regards,
André