var OMIT = {}; var WRITABLES = [true, false, OMIT]; { var desc = {}; function put(field, value) desc[field] = value; WRITABLES.forEach(function(writable) { put("writable", writable) }); };