You are on page 1of 1

/*write code below*/

let lgtxt = (e)=>{


console.log(e)
};
const dyn = "that";
const person = {
"name" : "MIO",
"age" : 17,
[dyn] : "dynamic"
}
log(JSON.stringify(person));

const arr = [1, 1, 2, 2, 3, 4, 5, 6, 6, 7 ,8 ,8];

const uniqueARR = Array.from(new Set(arr));

log(uniqueARR.slice(-3));

log(Object.values(person))

You might also like