let f { let obj = { note: 'safe' } f = function() { return obj } } const oRef = f() oRef.note = 'unsafe'
GitHub