From 2429c5e3457baa47dc24a1e2a04debb0900f34b7 Mon Sep 17 00:00:00 2001 From: Slapoguzov Alexander Date: Fri, 8 Jan 2021 23:56:40 +0300 Subject: [PATCH] Create jopa.js --- jopa.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 jopa.js diff --git a/jopa.js b/jopa.js new file mode 100644 index 0000000..56acfb9 --- /dev/null +++ b/jopa.js @@ -0,0 +1,5 @@ +function same(x, y) { + if (x !== x && y !== y) // lgtm[js/comparison-of-identical-expressions] + return true; + return x === y; +}