how to get element from object in javascrpt code example Example: javascript object let names = { name1: 'What ever you want to put' }