JavaScript/Lexical structure/Exercises

{Which line(s) lead to a syntax error? - Line 1 - Line 2 - Line 3 - Line 4 - Line 5 + None of the above
 * type="[]"}

{Which line(s) lead to a syntax error? - Line 1 - Line 2 - Line 3 - Line 4 + Line 5 - None of the above
 * type="[]"}

{Which line(s) lead to a syntax error?

- Line 1 - Line 2 - Line 3 - Line 4 - Line 5 + None of the above
 * type="[]"}

{Which line(s) lead to a syntax error?

- Line 1 - Line 2 - Line 3 + Line 4 - Line 5 - Line 6 - None of the above
 * type="[]"}


 * Be creative
 * 1) Create a code snippet with 3 valid and 3 invalid variable declarations.
 * 2) Create a code snippet with extensive comments, e.g.: explain WHY you have used certain variable names, whether this snippet is part of a huge project, what the author's name is, when the snippet was created, ....
 * 3) Create a code snippet and use non-Latin characters as variable names.