Welcome to the Treehouse Community
Looking to learn something new?
How come you can keep redeclaring variables with const?
Once you declare a variable with const I thought it meant that it became fixed globally. In the video, I am not sure if everytime you declare ' const driver = new selenium.Builder().forBrowser("chrome").build(); ' to open a driver you are exiting the REPL, then re-entering before you declare the variables again? If I don't do that I get a SyntaxError, which I would expect. Am I missing something or should I just use a different variable name if I'm not exiting the REPL?
I don't know if its clear I'm referring to the WebDriver videos
Steven Parker216,149 Points
You should probably post a question like this in the category of the appropriate language (you can move it using "edit question").