JSON.stringify方法還可以接受一個數組參數,指定需要轉成字符串的屬性。 ... 為了處理解析錯誤,可以將 JSON.parse 方法放在 try...catch 代碼塊中。
確定! 回上一頁