open_in_new
content_copy
for (const key of yourArray) { obj[key] = whatever; }