2.1.21 [ECMA-262/5] Section, Atom


IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

The specification defines the productions for Atom.

In addition to the existing productions for Atom, include identical productions for AtomNoBrace, except replacing Atom :: PatternCharacter with:

The production AtomNoBrace :: PatternCharacterNoBrace evaluates as follows:

 1. Let ch be the character represented by PatternCharacterNoBrace.
 2. Let A be a one-element CharSet containing the character ch.
 3. Call CharacterSetMatcher(A, false) and return its Matcher result.