Attempt to declare and assign a new variable in the current environment. Returns false if it already exists.
the name of the variable to set.
the initial value of the variable. This can be ScriptAny.UNDEFINED
whether or not the variable was declared as a const
True if the declaration was successful, otherwise false.
See Implementation
Attempt to declare and assign a new variable in the current environment. Returns false if it already exists.