Question 2
Consider the following javascript code:
The above code is initially loaded on the browser and then the browser is refreshed two times. What will be the final output?
['Tablet', 'Tablet']
['Tablet', 'Tablet', 'Tablet']
[{ id: 3, name: 'Tablet' }]
[undefined]