1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00

LibJS: Implement (mostly) spec compliant version of Number.toString()

This commit is contained in:
Stephan Unverwerth 2020-12-26 11:30:14 +01:00 committed by Andreas Kling
parent be9c2feff0
commit d3524f47a0
4 changed files with 151 additions and 20 deletions

View file

@ -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