Was this helpful?
The following function returns two variables: a credentials object and a transport string.
When this function returns, the destructuring assignment feature allows you to assign the return value to two different variables in a single operation, like so:
A very nice feature in ES6.
|posted||Apr 02, 2016|
|active||Apr 02, 2016|
|•||Dynamically combining multiple OrderBy clauses in LINQ|
|•||In Angular what is the difference between ngRoute and ui-router|
|•||Tip: assignments in ES6 vs ES5|
|•||Differences between e.preventDefault(), e.stopPropagation(), and return false;|