Percent sign in variable definition

I am looking at code that has this line:

var % 20 linkcount = 0;

What is going on here?

There are also lines like this:

var % 20 linkAnchor % 20 = % 20 anchorLink % 20 + % 20 "something"

Answer

%20 is the unicode character entity for the space (” “) character. These are usually used in URLs by browsers.

Leave a Reply

Your email address will not be published. Required fields are marked *