Getting data out of PlainObject in JQuery
<p>I love JQuery-style argument parsing and want to use it in my own function:</p>

<pre><code>   foo( { 'name': 'bob', 'age': 21 });
   function foo (param){
     alert($.isEmptyObject(param)); //shows true

     //now what?  :-)

     //param.prop('name'); does not work
     //$param=$(param); $param.prop('name'); still does not work
     //treating it as an array also does not work
   }
</code></pre>

<p>How can I get at the data I passed?  </p>
