javascript equivalent of PHP's call_user_func()

前端 未结 3 1832
别那么骄傲
别那么骄傲 2021-01-01 03:09

Does anyone know if there is one?

I want to call a function using a variable name.


edit:

I posted a fiddle here with what I\'m trying to do:

3条回答
提交回复
热议问题