Let's test your knowledge. Fill in the missing part by typing it in.
What is the output of following code?
JAVASCRIPT
1var obj = {"Peter": 12, "Jane": 11}
2var pairs = Object.entries(obj)
3console.log(pairs[1])
Write the missing line below.
What is the output of following code?
1var obj = {"Peter": 12, "Jane": 11}
2var pairs = Object.entries(obj)
3console.log(pairs[1])
Write the missing line below.