Parsing the JavaScript Location String
Complete Location String
Search String
Output
Format #1: Using the JSON.stringify function
Format #2: Stepping through each key in turn