编辑代码

let data = 1
function a () {
    return data = 3
}
a()
console.log(data)