1 // Copyright (C) 2020 Alexey Shvayka. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 esid: prod-ClassEscapes
7 \b escape inside CharacterClass is valid in Unicode patterns (unlike \B).
12 Static Semantics: CharacterValue
16 1. Return the code point value of U+0008 (BACKSPACE).
19 assert(/[\b]/u.test('\u0008'));
20 assert(/[\b-A]/u.test('A'));