Convert string array representation back to an array

javascript

Solution

Just use `JSON.parse('["item1", "item2", "item3"]');`

Problem

I have a string representation of an array: ``` '["item1", "item2", "item3"]' ``` I'm trying to convert this back to an array. Any pointers appreciated.

Original source