Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2016.
The Reflect.get() static method is like the property accessor syntax, but as a function.
The target object on which to get the property.
propertyKeyThe name of the property to get.
receiver OptionalThe value of this provided for the call to target if a getter is encountered. Defaults to target.
The value of the property.
Thrown if target is not an object.
Reflect.get() provides the reflective semantic of a property access. That is, Reflect.get(target, propertyKey, receiver) is semantically equivalent to:
Note that in a normal property access, target and receiver would observably be the same object.
Reflect.get() invokes the [[Get]] object internal method of target.
| ECMAScript® 2027 Language Specification # sec-reflect.get |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Apr 11, 2026 by MDN contributors.
Your blueprint for a better internet.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.