Copy first 7 keys in object into a new object : <p>As the title suggests, how do I make a new object containing the 7 first keys of another object using JS? :) This is the structure of the object I would like to copy the data from.</p>

<pre><code>{"data":[{"id":2338785,"team1":{"id":10531,"name":"Just For Fun"},"team2":{"id":10017,"name":"Rugratz"},"result":"2 - 0","event":{"name":"Mythic Cup 5","id":5148},"format":"bo3","stars":0,"date":1578279271000},....],"last_update":1578329378792}
</code></pre>

<p>Let's say there are 100 keys like this one, and I only want to copy the 7 first ones into a new object in JS.</p>
