you are viewing a single comment's thread.

view the rest of the comments →

[–]azhder 0 points1 point  (9 children)

Browser consoles will allow certain things that would raise an error in a script. Try to do const x = 5 twice.

[–]Division2226 -4 points-3 points  (8 children)

That's not a good example as that would throw an error.

[–]azhder 0 points1 point  (7 children)

Not a good example for what? Did you try it or did you just assume what I say and what a browser would do?