From 9b536ac45d5ba0f89f79b38d537728c5d56d4f0f Mon Sep 17 00:00:00 2001 From: dig Date: Fri, 19 Apr 2019 17:44:43 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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