Convert vector of values to JavaScript array
toJSarray(values)
values
Character vector
Character with valid JavaScript array