Randomblue
Randomblue

Reputation: 116293

What does >var mean?

Please see this page. The two for loops have >var. What is the > doing there?

Upvotes: 1

Views: 220

Answers (2)

Rob W
Rob W

Reputation: 349042

That's not valid JavaScript, and will produce a syntax error.

It looks like that the site owner used a search-and-replace operation, without looking at his code:

<span class="phpKeyword">for<span class="phpOperator">(</span></span>>var
                                                                    ^^

Upvotes: 1

Joe
Joe

Reputation: 82614

It's a typo. That won't run like >var. It would cause an syntax error like Unexpected Token >

Upvotes: 6

Related Questions