From 9ee460daf406d658c60afc729f17c8fe75e7225a Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Mon, 19 Sep 2022 13:36:22 +0000 Subject: [PATCH] [CodeFactor] Apply fixes --- particles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/particles.js b/particles.js index 325d834..f92fc15 100644 --- a/particles.js +++ b/particles.js @@ -1459,11 +1459,11 @@ function hexToRgb(hex){ g: parseInt(result[2], 16), b: parseInt(result[3], 16) } : null; -}; +} function clamp(number, min, max) { return Math.min(Math.max(number, min), max); -}; +} function isInArray(value, array) { return array.indexOf(value) > -1;