С учетом следующего JavaScript:
var someFunction = function(id) {
//do some stuff
var modifyId = function(id) {
//do some stuff
outer.id = id; //is there any way to modify the id variable in the outer scope from here?
}
}
Как изменить идентификатор, переданный во внешнюю область функции изнутри внутренней области функции?