aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 55
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
 
Don't get me started about those stupid light bulbs.
 
subject: javascript unsafe operations