const obj = { counter: 0 }

const bar = mutate()

function mutate() {

return obj.counter++

}

{

console.log(obj.counter)

keep(bar)

}