I have some properties in an object that I would like to add to the global namespace. In javascript on the browser I could just add it to the window object like so:
window
You could use this, which refers to the global object if the current function is not called as a method of an object.
this