KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a difference between quoted and un-quoted JavaScript object property/method names? For example, what is the difference between these two: var obj1 = { property1 : "Value 1", method1 : function() { return true; } }; var obj2 = { "property1" : "Value 1", "method1" : function() { return true; } };
Tags (comma-separated)
Save Edits
Cancel