let's suppose I have the following object:
k = {
name : 'Sam',
age : 20,
interests : " ... "
friends: " ... "
};
How to get all the objects properties without using the Object.keys() function in the ouptup format:
['name', 'age', 'interests' ...]
Note: don't mark my question as duplicate and provide a link to an answer with the Object.keys() function