How to Count the Number of Properties of the JavaScript Object ... var count = Object.keys(cat).length;. 15. console.log(count);.
確定! 回上一頁