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.
 
 
 
 
 
 

30 lines
603 B

name: duk_del_var
proto: |
duk_bool_t duk_del_var(duk_context *ctx);
stack: |
[ ... varname! ] -> [ ... ]
summary: |
XXX
<p>The identifier deletion is equivalent to the Ecmascript expression:</p>
<pre class="ecmascript-code">
delete varname
</pre>
<div class="note">
Attempt to delete an identifier is compile time SyntaxError in strict mode
code. Because Duktape/C functions run in strict mode, the semantics for this
call are currently not very useful when called from inside a Duktape/C function.
</div>
example: |
XXX
tags:
- variable
- omit
introduced: 1.0.0