Guest User

Untitled

a guest
Oct 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. // req.cookies might not be set, so how do I solve this nicely?
  2.  
  3. var language = req.query.language || req.cookies.language
  4.  
  5. // Is it really necessary to do the whole
  6. if (typeof req.cookies !== 'undefined')
  7. // routine?
Add Comment
Please, Sign In to add comment