I'm having doubts about script
below:
function getURLParam(name) {
var regex = "[\?&]"+name+"=([^&#]*)";
//mais código
return unescape(results[1]);
I'm new to javascript
, I can not understand what this is:
return unescape(results[1]);
- What does this part do?
- Why did you need to use this?