83 8 Create Your: Own Encoding Codehs Answers
Turning spaces into %20 so web browsers can read links correctly.
var myMap = {}; myMap['a'] = 'yourSymbol1'; myMap['b'] = 'yourSymbol2'; 83 8 create your own encoding codehs answers
The objective is to write a function called encoder that takes a string and returns a new "encoded" string. You can choose any encoding scheme you like, as long as you follow the rules: Turning spaces into %20 so web browsers can
Example: