1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:07:46 +00:00

LibJS: Add the String.prototype.trim{Left, Right} aliases

These are the same as trim{Start, End} respectively.
This commit is contained in:
Idan Horowitz 2021-06-02 00:59:15 +03:00 committed by Andreas Kling
parent 33eb9a6ddc
commit de8d081ca4
2 changed files with 4 additions and 0 deletions

View file

@ -256,6 +256,8 @@ namespace JS {
P(trace) \
P(trim) \
P(trimEnd) \
P(trimLeft) \
P(trimRight) \
P(trimStart) \
P(trunc) \
P(undefined) \