Documentation

toFunctor

converts a string to a function

function toFunctor(string name);

Parameters

namestringa string to convert

Returns

functiona function object

See also

Example

var a = "alert(1)";
webix.toFunctor(a);

Back to top