title: Method that passes options to its object
body: <p>In JavaScript I'd like to take an object and pass a parameter to it and based on the parameter have a method that will pass settings to the parameter:</p>
  
  <pre><code>functionName( parameter , settings );
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>functionName( parameter ).methodName( settings );
  </code></pre>
  
  <p>example: for my iPhone web app setup I do heavy('setup',{ icon: 'icon.png' }); and I want to move the second parameter to a method: heavy('setup').settings({ icon: 'icon.png' }); for my ease and learning...</p>