exec

executes a code string at runtime

any exec(string code);

Parameters

codestringthe code that needs executing

Returns

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