Type Your Code Here

// creating an object constructor. // and assigning values to it. const obj2 = { 10: 'arvind', 2: 'rahul', 7: 'Ankit' }; // Displaying the countable property [key, value] // pairs of the object using object.entries() method. console.log(Object.entries(obj2)[2]);

Output: