Sign In/My Account | View Cart  
advertisement

Article:
 RSS and AJAX: A Simple News Reader
Subject: eval() unnecessary
Date: 2006-09-17 05:29:48
From: happygiraffe

Just a minor point. The call to eval() in order to do dynamic object properties is not really necessary. This is because


object.property = "foo";


is exactly the same as


object["property"] = "foo";


Thanks for the interesting read, however!


-Dom


Previous Message Previous Message   Next Message Next Message


Sponsored By: