Is it possible to store the name of a function as string in JS, and invoke it from an object, pretty much like the PHP code below?
$this->$someFunc();
this[someFunc]();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With