๐๐ Reflection
Take a deep look into yourself, and compare it against what you want yourself to be.
The new Reflect
api is a set of functions that allow the developer to perform deep object comparisons.
The following functions and properties are exposed publicly and globally but should never really be used anywhere except internally, because this api is subject to change.
The equals<T>()
function is a very specialized method designed to traverse a complex tree of objects including Map
, Set
, Array
, TypedArray
, ArrayLike
, ArrayBuffer
, and custom class values. Once traversed, equality is determined on a reference by reference basis.
Last updated