Hey there! I'm attempting to remove only the keys from an array. Here's the initial array:
{everyone: "everyone", random: "random", fast response time: "fast response time", less conversations: "less conversations"}
However, I actually need the array to look like this:
["everyone", "random", "fast response time", "less conversations"]
I specifically want only the values in this new array format. I tried using the following code but it returns an empty array:
let array = {everyone: "everyone", random: "random", fast response time: "fast response time", less conversations: "less conversations"};
delete translation['everyone'];
delete translation['random'];
delete translation['fast response time'];
delete translation['less conversations'];
console.log(translation);