0

var Obj = { Prop : { AnotherProp : "Hello World" } },
    log = console.log;

log( Obj.Prop.AnotherProp ) 
log( Obj.Prop?.AnotherProp ) // What does Prop`?` do?

// From Google Chrome and Node output is 
// Hello World
// Hello World

I am confused about calling Object Properties.

Mohammed
  • 21
  • 7

0 Answers0