How do I insert a variable into a function call?
-
Hello everyone, I'm trying to insert a variable into a function call, but it turns out like inserting a variable into a string,
here is the function call itself:
await api.action.hereVariable ();JavaScript Anonymous, Sep 14, 2019 -
await api.action [HereVariable] ();
Anonymous
1 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!