JavaScript: How do I concatenate two values from a single Object? : <p>I know this is simple but for whatever reason I'm completely stumped right now.</p>

<p>I have an array of objects all with their own <code>month</code> and <code>year</code> properties and I'm trying to concatenate both from each object and then display them together. My data is as follows:</p>

<pre><code>"caloriesBurned": [
        {
            "month": "Nov",
            "year": "2018",
            "calories": 64.15
        },
        {
            "month": "Dec",
            "year": "2018",
            "calories": 75.07
        }
]
</code></pre>
