=proto void duk_put_var(duk_context *ctx); =stack [ ... varname! val! ] -> [ ... ] =summary
Write val
to the identifier varname
. Possible outcomes:
The identifier write is equivalent to the Ecmascript expression:
varname = val=example FIXME =tags variable omit =fixme There could be a return value indicating whether the put failed. This is not relevant in strict mode, but in non-strict mode a variable put can silently fail. Incomplete.