<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/any</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 04:01:35 GMT</pubDate>
<item>
<title>(JavaScript) Optional function arguments/parameters by using associative array - coprolit</title>
<link>http://snipplr.com/view/62307/optional-function-argumentsparameters-by-using-associative-array/</link>
<description><![CDATA[ <p>By not being limited to provide certain arguments/parameters in right order when calling a function, makes the function more versatile and easier to extend without breaking old code (e.g. calls to the function). 
One solution is to pass an associative array holding the parameters. 
Advantage: argument order is unnecessary, each argument have a label - easier to remember.</p> ]]></description>
<pubDate>Thu, 05 Jan 2012 00:13:08 GMT</pubDate>
<guid>http://snipplr.com/view/62307/optional-function-argumentsparameters-by-using-associative-array/</guid>
</item>
</channel>
</rss>