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
  • 564
  • 1
  • 8
  • 22

1 Answers1

2

You have to use the square bracket notation.

Config["pp.phaseName"]
AllTooSir
  • 47,910
  • 16
  • 124
  • 159