exec

executes a code string at runtime

any exec(string code);
codestringthe code that needs executing
anythe completion value of evaluating the given code

Example

webix.exec("myobj = 123");
alert(myobj);

Details

If the completion value is empty, undefined is returned.

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.