How to send an object as paramater in a function call? I don't want to instantiate the object when passing it, so myFunction( new myObject() )
wouldn't work.
I want myFunction
to be able to instantiate the object later. I'm just not sure how to pass a class around in this manner.