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
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Sebastian Markbåge edited this page Aug 9, 2018
·
5 revisions
unknown descriptor attributes on deleted property
A property that might have been deleted might have a different set of attributes. In the absence of an explicit enumerable property in the descriptor it would either leave the existing true value unchanged or set it to false, depending on the value of c.
varc=__abstract('boolean','c');varobj={x:1};if(c)deleteobj.x;Object.defineProperty(obj,'x',{value: 2});// Should this be enumerable or not?result=obj;