1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Revamp property mode bit fiddling (write, enumerate, configure)

This commit is contained in:
Robert Krimen
2013-05-18 12:57:52 -07:00
parent adf21d0208
commit bdd28e5938
4 changed files with 68 additions and 29 deletions

View File

@@ -396,8 +396,8 @@ func TestObject_defineOwnProperty(t *testing.T) {
delete object.property;
var def = object.hasOwnProperty("property");
abc == true && def == false;
`, "true")
[ abc, def ];
`, "true,false")
}
func Test_assignmentEvaluationOrder(t *testing.T) {