I get this data from the backend
let procedure_word_count = [{"slug":"new","name":"New","count":1},{"slug":"no-need","name":"No Need","count":2},{"slug":"why","name":"Why","count":2}]
My goal is to create a dimensional array that extracts the name and count from the "procedure_word_count"
let newArray = "[['New', 1], ['No Need', 2], ['Why', 2]]"
newArraya string?"procedure_word_count" = [...]is invalid syntax