I know PHP has `call_user_func`, I was just wondering if JavaScript had something similar, where the method I want to call is, for example: `object.set$fieldID($fieldValue)`

I would rather not go through if/else/switch blocks just to execute one line of code properly.

If it helps, I am using jQuery.