You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constructors can change arguments for next invocation (ebe172e)
BREAKING CHANGES
Previously constructors could return a new value that
would change the return type of the object. The new usage is to return a
value to be passed to the next constructor - if the value is an array ||
arguments it will be spread over the next constructor, if it's a native
type it will be wrapped in an array and spread over the next constructor,
otherwise the previous args will be used for the next
invocation.