docs: public static boolean same(Object x, Object y) {
          if (!typeof(x).equals(typeof(y))) {
              return false;
          }
          if (x instanceof Number) {
              if (isNaN(x) && isNaN(y)) {
                  return true;
              }
              return x.equals(y);
          }
          return eq(x, y);
      }