Isi semua bidang objek di JS

let obj = new obj()

Object.keys(obj).forEach(field => obj[field] = 'value');
// fill all fields of obj with 'value'
L'homme habile