
Clean Code: Variables - Beau teaches JavaScript
video description
Date: 2022-03-14
Related videos
Comments and reviews: 2
Roland
First, a tip of the hat - Great series! Keep it up! Question 1: Variables - Why/when are you defining FIRST_US_PRESIDENT and MINUTES_IN_A_YEAR in all caps but yearMonthDay and cityStateRegex in camelcase? Question 2: Semicolons - When is it ok to leave the semicolon out at the end of the line ( like you did on line 13, line 22 ) after the for loop ( line 16 ) after a function ( line 34 , line 39), thanks for clarifying!
reply
First, a tip of the hat - Great series! Keep it up! Question 1: Variables - Why/when are you defining FIRST_US_PRESIDENT and MINUTES_IN_A_YEAR in all caps but yearMonthDay and cityStateRegex in camelcase? Question 2: Semicolons - When is it ok to leave the semicolon out at the end of the line ( like you did on line 13, line 22 ) after the for loop ( line 16 ) after a function ( line 34 , line 39), thanks for clarifying!
reply
Constantine
Off topic, I don't understand the use match method with the string itself, also why the value of the string is so weird, can somebody explain?
reply
Off topic, I don't understand the use match method with the string itself, also why the value of the string is so weird, can somebody explain?
reply
Add a review, comment
Other channel videos















