Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Identifiers

Identifiers are unquoted text denoting the name or identity of a field. The rules governing what an identifier is allowed to be are as follows:

They may consist solely of:

  • Letters: A-Z a-z
  • Numbers: 0-9
  • Underscores: _
  • Hyphens: -
  • Single quotes: '

However, the first character of an identifier must be a letter or underscore. No other characters are permitted.

Examples of VALID identifiers

{
    my-list = [];
    my_list = [];
    _my_list_ = [];
    my-list- = [];
    my'list' = [];
}

Examples of INVALID identifiers

{
    'my-list = [];
    -my-list = [];
    1my-list = [];
}

Warning

The use of non-ASCII Unicode characters (emojis, non-Latin characters, accented characters, etc.) in identifiers is invalid.