0

I have a property with name 'pp.phaseName' in an object 'Config'

Whenever I try to access it like Config.pp.phaseName, it's throwing error.

I've tried using Config.(pp.phaseName), Config."pp.phaseName" etc. but none was working.

Please help me on how to do this.

Mahesh
  • 603
  • 1
  • 10
  • 22

1 Answers1

2

You have to use the square bracket notation.

Config["pp.phaseName"]
AllTooSir
  • 48,828
  • 16
  • 130
  • 164