Constants

Objects are great for retrieving static information

const myColors = { 
   red: '####',
   blue: '####'
   yellow: '####'
}

myColors[red]
myColors.red


© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext