物件轉陣列. const object1 = { a: 'somestring', b: 42, c: false };. console.log(Object.values(object1));. // Array [“somestring”, 42, false].
確定! 回上一頁