How is it possible to override/hijack reference in scope chain?
If I have a function in another file (node env):
const name = 'name_local'
export default () => { return name }
From another file I want to import that function but override it's reference to name
passing a new reference:
import nameFunc from '../otherFile'
const name = 'hijacked name reference'
nameFunc() // 'hijacked name reference'