Look, namespaces can be faked! Nuff said! If something can be faked, do it! That’s my motto! Got me through college, for sure. But – I digress.
Namespaces are wrappers to keep variables seperate and to stop variables with the same name from colliding.
So let’s say you got a variable with a generic name like ‘greet’ or something. Then, somewhere else in your application, someone decides to make another variable called ‘greet’ that has a different value… Eww wee, that can become a problem – like quick. SO, you can take your variables and attach them to another object other than the global object. simple. The video below will show you exactly how to do it! Enjoy friends!