123let url = "http://www.example.com"let encode_url = encodeURIComponent(url)url = decodeURIComponent(encode_url)