Say I create an object thus:
var myObject = {\"ircEvent\": \"PRIVMSG\", \"method\": \"newURI\", \"regex\": \"^http://.*\"};
What is
Could do it with jQuery as follows:
var objectKeys = $.map(object, function(value, key) { return key; });