From 913d9468f0fa8dc9326944f68073fcd46b7d028c Mon Sep 17 00:00:00 2001 From: dig Date: Fri, 19 Apr 2019 17:49:36 +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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5cd99a4..29cc599 100644 --- a/README.md +++ b/README.md @@ -124,4 +124,10 @@ export function myAwesomeFunction3( { 0:param1, 3:param4, foo, val, baz } ) // O { console.log( param1, param4, foo, val, baz ) } -``` \ No newline at end of file +``` + +To call this kind of function in js: +```javascript +myAwesomeFunction3({ 0: "first", 3: "forth", foo: true }) +``` +