From 39f3ec8e5cce21f6a577ca28cd7d73e63a9861be Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Fri, 18 Sep 2020 12:35:38 +0300 Subject: [PATCH] fix: not need --- t.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 t.js diff --git a/t.js b/t.js deleted file mode 100644 index 6b1e61c..0000000 --- a/t.js +++ /dev/null @@ -1,11 +0,0 @@ -function test(config = {}) { - let { params = { id: undefined } } = config; - - const { id } = params; - - console.log({ params, id }); - - return config; -} - -console.log(test());