Join Slack
Powered by
you can't use the dash `-` character
# javascript
g
gbaldeck
03/18/2018, 12:23 AM
you can't use the dash
-
character
f
Filipp Riabchun
03/18/2018, 10:54 AM
you can, using square brackets:
attrs["my-prop"] = "foo"
3
Views
Open in Slack
Previous
Next