Open udarakalpana opened 4 months ago
Write a function that takes below object and returns an array of its keys and values.
const book = { title: '1984', author: 'George Orwell' }
// Output: [['title', '1984'], ['author', 'George Orwell']]
@udarakalpana I started
@udarakalpana I started this kata sir
@udarakalpana I have started this
I have started this
Write a function that takes below object and returns an array of its keys and values.
const book = { title: '1984', author: 'George Orwell' }
// Output: [['title', '1984'], ['author', 'George Orwell']]