DEV Community

Discussion on: Just In Case

Collapse
 
hq063 profile image
Gonzalo HQ063

it's actually called kebAb-case.

And kebab-case = 1 doesn't work in JS either, probably there is almost no language that would interpret that as a variable assignment, kebab casing is motly used for paths or files, maybe as hash keys, package names or other type of names that are wrapped in strings, but not as regular variable names.

Collapse
 
olddutchcap profile image
Onorio Catenacci

Hmm. Thanks for the corrections. I think I had the standard use of kebab-case in some HTML and CSS conflated with Javascript.