rafaelmaeuer
10/9/2017 - 1:35 PM

How do I reference a javascript object property with a hyphen in it? - From https://stackoverflow.com/questions/7122609/how-do-i-reference-a

How do I reference a javascript object property with a hyphen in it? - From https://stackoverflow.com/questions/7122609/how-do-i-reference-a-javascript-object-property-with-a-hyphen-in-it

obj.style-attr // would become 

obj["styleAttr"]