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.
 
 
 
 
 
 

18 lines
359 B

name: duk_seal
proto: |
void duk_seal(duk_context *ctx, duk_idx_t obj_idx);
summary: |
<p>Equivalent to <code>Object.seal()</code> for object at
<code>obj_idx</code>; if sealed, the object is automatically
compacted. If the index is invalid an error is thrown.</p>
example: |
duk_seal(ctx, -3);
tags:
- object
- property
introduced: 2.2.0