I have an array of integers
element= [12,456]
I would like to transform this into
desired_output = "[12,456]"
I tried toString but it fails. For example element.toString() outputs "12,456" which is not what I want.
It's tricky, I want to keep the [ and the ] inside the string.
JSON.stringify([12,456])