code: private boolean argsMayHaveSideEffects(Node call) {
      for (Node currentChild = call.getSecondChild();
           currentChild != null;
           currentChild = currentChild.getNext()) {
        if (NodeUtil.mayHaveSideEffects(currentChild, compiler)) {
          return true;
        }
      }
  
      return false;
    }
docs: Check whether the given method call's arguments have side effects.
  @param call The call node of a method invocation.