How does the following javascript statement evaluate?
How does the following javascript statement evaluate?
The following statement does not have an if statement, even though it uses
the ? character. How does it evaluate?
var username = req.user ? req.user.username : '';
No comments:
Post a Comment