What does x === '^' mean?

I am working on this Angular authorization repo https://github.com/fnakstad/angular-client-side-auth and came across an if (fromState.url === '^') line if (fromState.url === '^') and I have no idea what that means .

You can see this in context here https://github.com/fnakstad/angular-client-side-auth/blob/a65505880345abf487aa38c56f24fbf8ab8e12a0/client/js/app.js

To be clear, I ask what the caret character “^” means in this particular context.

+7
javascript angularjs
source share

No one has answered this question yet.

See similar questions:

5670
Which operator is equal (== vs ===) should be used in comparing JavaScript?
4270
Link. What does this symbol mean in PHP?
1434
Difference between == and === in JavaScript

or similar:

7287
What does use strict do in JavaScript, and what are the reasons for this?
5101
What is the most efficient way to deeply clone an object in JavaScript?
3915
Why does Google add while (1); in your JSON answers?
2984
What is the difference between calling and applying?
2743
What is it!! (non) operator in JavaScript?
2050
What is the JavaScript version of sleep ()?
1986
What is JSONP and why was it created?
1949
How does JavaScript.prototype work?
1690
How does data binding work in AngularJS?
1124
What does javascript: void (0) mean?

All Articles