diff --git a/README.md b/README.md index c13558f..5cd99a4 100644 --- a/README.md +++ b/README.md @@ -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 ) +} ``` \ No newline at end of file