How to initailize a variable name with a dot notation in react JS?
up vote
1
down vote
favorite
The data which I'm getting from API is in this format having few keys in dot format and rest in normal. As javascript don't allow variable names having dot notation. How can I initialize variable names in dot notation ? [{ "s.no":0, "amt.pledged":15823, "currency":"cad", "end.time":"2016-11-01T23:59:00-04:00", }] `
reactjs variable-names
share | improve this question
asked Nov 11 at 18:20
Afrin Athar
23 4