Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2016년 9월.
Reflect.set() 정적 메서드는 객체 속성의 값을 설정합니다.
속성의 값을 설정할 대상 객체.
propertyKey값을 설정할 속성의 이름.
value설정할 값.
receiver Optional속성이 설정자일 경우, this로 사용할 값.
값 설정의 성공 여부를 나타내는 Boolean.
target이 Object가 아니면 TypeError.
Reflect.set() 메서드는 객체 속성의 값을 설정할 수 있습니다. 속성 추가도 할 수 있으며, 함수라는 점을 제외하면 동작 방식은 속성 접근자와 같습니다.
| ECMAScript® 2027 Language Specification # sec-reflect.set |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.