Browse Source

reword error message to match others

pull/1/head
Sami Vaarala 11 years ago
parent
commit
422f2c8ba6
  1. 2
      src/duk_hobject_props.c

2
src/duk_hobject_props.c

@ -3050,7 +3050,7 @@ int duk_hobject_delprop_raw(duk_hthread *thr, duk_hobject *obj, duk_hstring *key
DUK_DDDPRINT("delete failed: property found, not configurable");
if (throw_flag) {
DUK_ERROR(thr, DUK_ERR_TYPE_ERROR, "property is not configurable");
DUK_ERROR(thr, DUK_ERR_TYPE_ERROR, "property not configurable");
}
return 0;
}

Loading…
Cancel
Save