Object.keys 썸네일형 리스트형 Object.keys() - 객체로부터 키값 가져오기 Object.keys() The Object.keys() method returns an array of a given object's own enumerable property names, iterated in the same order that a normal loop would. developer.mozilla.org const object1 = { a: 'somestring', b: 42, c: false }; console.log(Object.keys(object1)); // expected output: Array ["a", "b", "c"] 더보기 이전 1 다음