Report question

Question: How to get the previous URL in JavaScript?