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
420 B
19 lines
420 B
=proto
|
|
int duk_del_prop_string(duk_context *ctx, int obj_index, const char *key);
|
|
|
|
=stack
|
|
[ ... obj! ... ] -> [ ... obj! ... ]
|
|
|
|
=summary
|
|
<p>Like <code><a href="#duk_del_prop">duk_del_prop()</a></code>,
|
|
but the property name is given as a NUL-terminated C string
|
|
<code>key</code>.</p>
|
|
|
|
=example
|
|
int rc;
|
|
|
|
rc = duk_del_prop_string(ctx, -3, "propertyName");
|
|
printf("delete obj.propertyName -> rc=%d\n", rc);
|
|
|
|
=tags
|
|
property
|
|
|