1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

LibJS: Make Value::typeof() return a StringView

This commit is contained in:
Linus Groh 2023-01-26 17:26:31 +00:00
parent 3cc376d1a2
commit 2ff989914d
2 changed files with 14 additions and 14 deletions

View file

@ -1,6 +1,6 @@
/*
* Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2020-2022, Linus Groh <linusg@serenityos.org>
* Copyright (c) 2020-2023, Linus Groh <linusg@serenityos.org>
* Copyright (c) 2022, David Tuin <davidot@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
@ -404,7 +404,7 @@ public:
return *this;
}
DeprecatedString typeof() const;
StringView typeof() const;
bool operator==(Value const&) const;