Mettre à jour 'README.md'

This commit is contained in:
dig 2019-04-19 17:44:43 +02:00
parent ca486192d8
commit 9b536ac45d
1 changed files with 4 additions and 0 deletions

View File

@ -120,4 +120,8 @@ export function myAwesomeFunction2( { foo, val, baz } ) // Object destructuratio
{
console.log( foo, val, baz )
}
export function myAwesomeFunction3( { 0:param1, 3:param4, foo, val, baz } ) // Object destructuration for both, using index name
{
console.log( param1, param4, foo, val, baz )
}
```