DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
dot notation vs bracket notation javascript
let obj = { cat: 'meow', dog: 'woof' }; let sound = obj.cat; console.log(sound); // meow
Source by codeburst.io #
PREVIOUS
NEXT
Tagged:
#dot
#notation
#bracket
#notation
#javascript
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit