My end goal is being able to do something like this:
MyVar(parameter).functionToPerform();
Silly enough, even after reading up on how varia
when you do
var test = new MyClass()
you create an object that has two attributes move and print. You object test is no more a function because of the new statement. So calling test() is wrong.
move
print
test
new
test()