Namespaces tree javascript example and explanation of syntax.
This namespaces to be defined in javascript:
root
root.person
root.home
root.home.relative
my try that wrong:
var root='';
root.person='';
root.home='';
root.home.relative='';
Please explain your code I not know js well as php/c/java
Thanks