title: Assigning a variable name in argument of function call
body: <p>I've seen this before (or something similar) in some language and I'm guessing it was Javascript or PHP. I can't find anything related online - I'm guessing it's just that I don't know what it's called. Anyway, I'm wondering if I can do something like this:</p>
  
  <pre><code>function myFunc(t) {
      alert(t);
  }
  myFunc(alertString="foo");
  </code></pre>
  
  <p>Where the result of the function call would alert "foo".</p>
  
  <p>Is this possible? My reasoning behind wanting to do something like this is that it improves readability without having to write line before the call to assign the variable. What is this called? Do any languages support this? I'm just interested in the idea. Thanks!</p>