-C-O-N-C-E-P-T- Series : Javascript eval() Function
The eval() function executes a string as through it were a JavaScript statement.
Syntax: eval(string)
where string is any string representing a JavaScript expression, statement, or sequence of statements. The expression can include variables and properties of existing objects.
Description
The argument of the eval() function must be a string that can also be executed as a valid JavaScript statement. If the string represents an expression, eval() evaluates the expression. If the string is a numeric sring character, eval() returns the number. If the argument represents one or more JavaScript statements, eval() performs the statements.
Example
When executed, this script
displays this on the screen:
eval(string1) = 50
eval(executable) produces
Please feel free to correct me at any point :)
3 comments:
Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Impressora e Multifuncional, I hope you enjoy. The address is http://impressora-multifuncional.blogspot.com. A hug.
how can you write a so cool blog,i am watting your new post in the future!
A friend told me this place I have been looking for, I come, it turned out, I have not disappointed, good Blog
Post a Comment