mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-13 06:32:54 +00:00
LibJS: Allow all line terminators to be used for line continuations
This commit is contained in:
parent
1319ad476d
commit
66e315959d
Notes:
sideshowbarker
2024-07-19 01:43:39 +09:00
Author: https://github.com/linusg
Commit: 66e315959d
Pull-request: https://github.com/SerenityOS/serenity/pull/3849
3 changed files with 21 additions and 4 deletions
|
@ -32,7 +32,7 @@ test("use strict with double quotes after statement does not yield strict mode c
|
|||
|
||||
test("use strict interrupted by a line continuation does not yield strict mode code", () => {
|
||||
"use \
|
||||
strict";
|
||||
strict";
|
||||
expect(isStrictMode()).toBeFalse();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue