當(dāng)我嘗試使用JSON.parse該字符串時出現(xiàn)此錯誤"['Answer 1', 'Answer 2']"Uncaught SyntaxError: Unexpected token ' in JSON at position 1
at Object.parse (<anonymous>)
at <anonymous>:1:6有人能告訴我該怎么做嗎?
如何將此字符串轉(zhuǎn)換為 JavaScript 數(shù)組?
牛魔王的故事
2023-07-20 15:41:17