This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 49
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript unsafe operations
 
Similar Threads
Compile error saying I need to recompile servlet
compile warning - what does it mean?
WA #1.....word association
Axis2 - error on client
OOP-2 and Compiler Error(Warning)?