I have stored name of a property of an object as a string.In PHP, if the object were n开发者_StackOverflow中文版amed $object and the property variable was named $key, it could be accessed with $object
This question already has answers here: Closed 12 years ago. Possible Duplicate: How do I test for an empty Javascript object from JSON?
We are about to start up a new project similar to a previous one. I could just copy the old design but I am not all too satisified with the old design.