Declare a Read-Only Variable - upper-case SENTENCE

Declare a Read-Only Variable - upper-case SENTENCE
0

#1

I have a question about this challenge.

Why is the word “sentence” required to be in upper case?


#2

in JS, any const variables are all named in uppercase with spaces being separated by underscore.

It’s a convention like how usually other variable naming conventions are camelCase. Ex.

const FAV_PET;
let favPet;

#3

It’s a common practice. There is nothing stopping you from doing different though.


#4

It’s basically C legacy turned into convention. Here is a little history on the subject.