SIGN IN SIGN UP

Fix `rtrimstr("")` always output `""` (#3415)

Example
---
**Before this fix**:

```sh
$ jq -n '"foo"|rtrimstr("")'
""
```

**After this fix**:

```sh
$ jq -n '"foo"|rtrimstr("")'
"foo"
```
A
A4-Tacks committed
169457328db1c2788b01b79e7739851647a78274
Parent: c8017bf
Committed by GitHub <noreply@github.com> on 9/29/2025, 3:15:43 PM