var name ="[2,3,4,5,6,7,8]";
JSON.parse(name).join(',')
548k questions
547k answers
4 comments
86.3k users