I'm trying to have a configurable checkbox and want to have my array's values to be the keys for the object.
Given:
let colors = [red, blue, black, yellow, orange]
How do I make it so that it becomes:
colorChecklist = {
red: true,
blue: true,
black: true,
yellow: true,
orange: true
}