Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javascript unsafe operations  RSS feed

 
Grega Leskovšek
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IS it true that eval() function is suggested not to be used? What are javascript unsafe operations? Thanks! Grega
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!