add configurable and writable property to defined properties

This commit is contained in:
Sebastian McKenzie
2015-01-11 02:43:17 +11:00
parent 7fc484d82e
commit 286d2f84bd
12 changed files with 38 additions and 16 deletions

View File

@@ -13,7 +13,9 @@ var Test = (function () {
get: function () {
throw new Error("wow");
},
enumerable: true
writable: true,
enumerable: true,
configurable: true
}
});