This is an example of what it does!
the output is: hellodaveCode:name = "dave" greeting = "hello" eval_string = "greeting + name"; test_string = eval(eval_string); document.write(test_string);
eval() has no real word programming use that I can think of because,
would do exactly the same job *shrugs*!Code:name = "dave" greeting = "hello" eval_string = greeting + name; document.write(eval_string);




Reply With Quote