oauthjs / express-oauth-server

Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js
MIT License
484 stars 384 forks source link

Modernize example with s/var/const/ #69

Open markstos opened 6 years ago

markstos commented 6 years ago

Using "const" when possible is a best practice. These variables are never redefined, so "const" is preferred.