wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes javascript unsafe operations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript unsafe operations" Watch "javascript unsafe operations" New topic
Author

javascript unsafe operations

Grega Leskovšek
Ranch Hand

Joined: Nov 13, 2008
Posts: 53
IS it true that eval() function is suggested not to be used? What are javascript unsafe operations? Thanks! Grega


--Always, Grega from Peace refuge
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
99.99% of the time there is a better way to do things. Eval is slow. It is unsafe since you may not know what you are going to be running.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: javascript unsafe operations
 
Similar Threads
compile warning - what does it mean?
Axis2 - error on client
WA #1.....word association
OOP-2 and Compiler Error(Warning)?
Compile error saying I need to recompile servlet