Cómo codificar URI en el Postman de Script Prereuqest

var encoded = encodeURIComponent(pm.environment.get("phone number"));
Determined Dotterel