From 24237ae5bfcfdb5592ef60f90467ac459be8767d Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 1 Dec 2022 11:38:41 +0100 Subject: [PATCH] LibJS: Add FIXME to removed SplitMatch AO --- Userland/Libraries/LibJS/Runtime/StringPrototype.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp b/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp index b8a1095ce22..3c8ad00ed69 100644 --- a/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp +++ b/Userland/Libraries/LibJS/Runtime/StringPrototype.cpp @@ -46,6 +46,7 @@ static ThrowCompletionOr utf16_string_from(VM& vm) } // 22.1.3.21.1 SplitMatch ( S, q, R ), https://tc39.es/ecma262/#sec-splitmatch +// FIXME: This no longer exists in the spec! static Optional split_match(Utf16View const& haystack, size_t start, Utf16View const& needle) { auto r = needle.length_in_code_units();