拿下面JSON object 為例: var jsonObj = {"0":"1","1":"2","2":"3","3":"4"};. 如果我想取得這Object 的length: console.log(jsonObj.length);. 回傳的結果會是:
確定! 回上一頁