diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Value.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Value.cpp b/Userland/Libraries/LibJS/Runtime/Value.cpp index 66838574e5..c560763156 100644 --- a/Userland/Libraries/LibJS/Runtime/Value.cpp +++ b/Userland/Libraries/LibJS/Runtime/Value.cpp @@ -156,7 +156,7 @@ static String double_to_string(double d) return builder.to_string(); } if (-6 < exponent && exponent <= 0) { - builder.append("0."); + builder.append("0."sv); builder.append(String::repeated('0', -exponent)); builder.append(digits); return builder.to_string(); |