keys() method to get the object keys in a array format and loop through it using forEach method. Here is an example: const user = { name: "john", ...
確定! 回上一頁