January 2018
Beginner
658 pages
13h 10m
English
To explore how to encode and decode strings we'll head into the Terminal. Inside the Terminal, first we'll clear the screen using the clear command, and then we boot up a node process by typing the node command as shown:
node
Here we can run any statements we like. When we're exploring a really basic node or JavaScript feature, we'll look into some examples first, and then we go ahead and add it into our actual application. We'll look at two functions, encodeURIComponent and decodeURIComponent. We'll get started with encoding first.