mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
412 B
19 lines
412 B
=proto
|
|
int duk_del_prop_string(duk_context *ctx, int obj_index, const char *key);
|
|
|
|
=stack
|
|
[ ... obj! ... ] -> [ ... obj! ... ]
|
|
|
|
=summary
|
|
<p>Like <tt><a href="#duk_del_prop">duk_del_prop()</a></tt>,
|
|
but the property name is given as a NUL-terminated C string
|
|
<tt>key</tt>.</p>
|
|
|
|
=example
|
|
int rc;
|
|
|
|
rc = duk_del_prop_string(ctx, -3, "propertyName");
|
|
printf("delete obj.propertyName -> rc=%d\n", rc);
|
|
|
|
=tags
|
|
property
|
|
|