Fix a couple more places where we were using the old String.strip method.
Review Request #13653 — Created March 21, 2024 and submitted — Latest diff uploaded
Long ago, we monkey-patched the String class to include a
strip()
method. This is now in the standard library astrim()
, and we've
deprecated our version. This change fixes two places that still used it
that I had missed.
Ran js-tests and saw that the deprecation warnings were no longer
showing up in the console.