How to add dynamic key in object?

Anku

 const r = `workshop.inclusiveService`;

const serv = {[r]: { serviceId: 70 }};

console.log(serv);