docs: private static double js_hypot(Object[] args)
      {
          if (args == null) {
              return 0.0;
          }
          double y = 0.0;
  
          for (Object o : args) {
              double d = ScriptRuntime.toNumber(o);
              if (d == ScriptRuntime.NaN) {
                  return d;
              }
              if ((d == Double.POSITIVE_INFINITY) || (d == Double.NEGATIVE_INFINITY)) {
                  return Double.POSITIVE_INFINITY;
              }
              y += d * d;
          }
          return Math.sqrt(y);
      }