From 0036db0dcd89079f458cf1f76757731acf4f7275 Mon Sep 17 00:00:00 2001 From: Slapoguzov Alexander Date: Fri, 8 Jan 2021 23:57:21 +0300 Subject: [PATCH] Create jopa2.js --- jopa2.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 jopa2.js diff --git a/jopa2.js b/jopa2.js new file mode 100644 index 0000000..0a9d25e --- /dev/null +++ b/jopa2.js @@ -0,0 +1,5 @@ +function same(x, y) { + if (x !== x && y !== y) + return true; + return x === y; +}