 </span><span class="hl-0">fieldName</span><span class="hl-1">) </span><span class="hl-5">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1">    </span><span class="hl-2">// If field name is &#39;pubYear&#39;, extract just the year from &#39;pubDate&#39;</span><br/><span class="hl-1">    </span><span class="hl-3">if</span><span class="hl-1"> (</span><span class="hl-0">fieldName</span><span class="hl-1"> === </span><span class="hl-4">&#39;pubYear&#39;</span><span class="hl-1">) {</span><br/><spa