I need to find a way to transform
var input =["tag1", "tag2", "tag3"]
so that it becomes "tag1", "tag2", "tag3"
At the end I should have var output = "tag1", "tag2", "tag3" enter code here
I tried push, splice, join...nothing worked.
Some words on why: It can seem weird but I need to use some third party tool querying convention
object.containsAll('activities', 'tag1', 'tag2', 'tag3')
So the query is failing because I can't write
object.containsAll('activities', input)
, as input here is an array