Jump to content

JavaScript/Lexical structure/Exercises

From Wikibooks, open books for an open world


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.
close