var Higher = {
hello: function(){
console.log('Hello from Higher');
}
Lower: {
hi: function(){
//how to call the 'hello()' method from the Higher namespace?
//without hardcoding it, as 'Higher.hello()'
console.log('Hi from Lower');
}
}
}
How to call a method from a higher level namespace without hard coding? Refer to the comment where I want to call a higher level namespace's method in another lower namespace.