From 2bff7028634d9640f14f563916d5d9b0d23f719e Mon Sep 17 00:00:00 2001 From: Akbar Uddin Date: Sun, 18 Dec 2022 12:23:20 +0530 Subject: [PATCH] classNames Signed-off-by: Akbar Uddin --- javascript/classNames.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 javascript/classNames.js diff --git a/javascript/classNames.js b/javascript/classNames.js new file mode 100644 index 0000000..b2730fa --- /dev/null +++ b/javascript/classNames.js @@ -0,0 +1 @@ +const classNames = (...classes) => classes.filter(Boolean).join(' ');