How to call a function based on the function name (string type)?
For example: call('add', 1, 1)
, where ‘add’ is a string input for the function name.
How to call a function based on the function name (string type)?
For example: call('add', 1, 1)
, where ‘add’ is a string input for the function name.