Explain Eval
-
- Posts: 165
- Joined: Fri May 06, 2011 5:02 pm
Explain Eval
What does eval do? How is it used?
Re: Explain Eval
it evaluates the given javascript code. In simple terms, it processes (or runs) the code you give it as a string
eval('alert("test");');it the same as
alert("test");effectively.