How to convert my fat arrow function to a "normal" function in javascript : <p>I'm just trying to convert this to a normal js function without the "fat arrow".</p>

<p>I want body => to be a normal function.</p>

<p>How do I write that?</p>

<p>snippet from code</p>

<pre><code>fetch(this.JobExecEndpoint)
  .then(response =&gt; response.json())
  .then(body =&gt; {
    this.cleanStartTime = moment(body[0].time_start);
    this.cleanEndTime = moment(body[0].time_end);
    this.cleanDuration = this.calculateDuration(
      this.cleanStartTime,
      this.cleanEndTime
    );
</code></pre>
