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; +}