convert json array of string to javascript array of string

Anku


payload : {"t":["5","6"]}

code -
const h = []
payload.t.map((data) => {
console.log(data);
h.push(`'${data}'`);
});
const ts = `where ${h}`;
console.log(ts);
output - where '5','6'