meta (obj, writable) Object
private
Retrieves the meta hash for an object. If writable
is true ensures the hash is writable for this object as well.
The meta object contains information about computed property descriptors as well as any watched properties and other information. You generally will not access this information directly but instead work with higher level methods that manipulate this hash indirectly.
Parameters:
-
obj
Object
- The object to retrieve meta for
-
writable
[Boolean]
- Pass `false` if you do not intend to modify the meta hash, allowing the method to avoid making an unnecessary copy.
Returns:
-
Object
- the meta hash for an object
Please login to continue.