mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
LibJS: Disallow yield expression correctly in formal parameters
And add ZERO WIDTH NO BREAK SPACE to valid whitespace.
This commit is contained in:
parent
7bcffd1b6a
commit
c108c8ff24
4 changed files with 11 additions and 3 deletions
|
@ -29,6 +29,9 @@ constexpr const u32 NO_BREAK_SPACE { 0x00A0 };
|
|||
// U+200C ZERO WIDTH NON-JOINER
|
||||
constexpr const u32 ZERO_WIDTH_NON_JOINER { 0x200C };
|
||||
|
||||
// U+FEFF ZERO WIDTH NO-BREAK SPACE
|
||||
constexpr const u32 ZERO_WIDTH_NO_BREAK_SPACE { 0xFEFF };
|
||||
|
||||
// U+200D ZERO WIDTH JOINER
|
||||
constexpr const u32 ZERO_WIDTH_JOINER { 0x200D };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue