Changes in new versions / ES2019

String.prototype.trimStart and trimEnd

This example is in the full version, available in the app stores: