mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 10:40:39 +09:00
LibJS: Implement (mostly) spec compliant version of Number.toString()
This commit is contained in:
parent
be9c2feff0
commit
d3524f47a0
Notes:
sideshowbarker
2024-07-19 00:32:16 +09:00
Author: https://github.com/sunverwerth
Commit: d3524f47a0
Pull-request: https://github.com/SerenityOS/serenity/pull/3803
Reviewed-by: https://github.com/linusg
4 changed files with 151 additions and 20 deletions
|
@ -258,6 +258,7 @@ public:
|
|||
StringView view() const;
|
||||
|
||||
int replace(const String& needle, const String& replacement, bool all_occurrences = false);
|
||||
String reverse() const;
|
||||
|
||||
template<typename T, typename... Rest>
|
||||
bool is_one_of(const T& string, Rest... rest) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue