What is: A curly brace enclosure with a first variable name then a colon which separates the same variable name again? {name:name} : <p>This possibly relates to Javascript, TypeScript, or Angular 2.  I'm not sure?</p>

<p>Here is an example:</p>

<pre><code>onSearch( term:string) 
{
    this.router.navigate([' search', {term: term}]);
}
</code></pre>

<p>I don't understand what the '{term: term}' is doing?</p>
