DEV Community

Discussion on: Eloquent JavaScript (Part I : Chapter 2/Program Structure)

Collapse
 
jzombie profile image
jzombie

In the "capitalization" section, there are some additional ways to capitalize:

  • All caps: i.e. const MY_CONSTANT = 'a constant value';
  • First-letter uppercase camelCase: i.e. class MyClass {}
Collapse
 
pranish07 profile image
Pranish Shrestha

yesss you're right. The book I'm referring to has these 4 types and yes all caps is also widely used for constants so edited it. Thanks.
first-letter uppercase was already mentioned. Thank you