JavaScript: What is the equivalent of PHP's "$this->$somefunc()"? -
Is it possible to store the name of the function as a string in JS, and open it from the object, much like PHP Is the code down?
$ this-> $ SomeFunc ();
this [someFunc] ();
Comments
Post a Comment