function CallOrNoop1(O, P, arg0, nameForError) {
    const method = resolveMethod(O, P, nameForError);
    if (method === undefined) {
      return undefined;
    }

    return callFunction(method, O, arg0);
  }
// Modified from InvokeOrNoop in spec. Takes 1 argument.
Modified from InvokeOrNoop in spec. Takes 1 argument.
Modified from InvokeOrNoop in spec . Takes 1 argument .
function CallOrNoop1(O, P, arg0, nameForError) {
    const method = resolveMethod(O, P, nameForError);
    if (method === undefined) {
      return undefined;
    }
    return callFunction(method, O, arg0);
  }
function CallOrNoop1 ( O , P , arg0 , nameForError ) { const method = resolveMethod ( O , P , nameForError ) ; if ( method === undefined ) { return undefined ; } return callFunction ( method , O , arg0 ) ; }
Modified from InvokeOrNoop in spec.
Modified from InvokeOrNoop in spec .