I've looked for solutions, but couldn't find any that work.
I have a variable called onlyVideo
.
"onlyVideo"
the string gets passed into a function. I want to set the variable onlyVideo
inside the function as something. How can I do that?
(There are a number of variables that could be called into the function, so I need it to work dynamically, not hard coded if statements)