DevBest.com - Community of Developers & Gamers

griimnak
griimnak
been dare don dat
G
GarettM
var response = new Buffer('796f752073686f756c642074686f756768', 'hex').toString('utf8');
griimnak
griimnak
var rere = new Buffer('6D61796265207768656E2069206765742073746F6E656420746F6E696768740A', 'hex').toString('utf8');
LeChris
LeChris
oh ok
LeChris
LeChris
var database = require('./application/database.js');
theres my var LOL
griimnak
griimnak
Aha noob!
  • Like
Reactions: Jaden
LeChris
LeChris
i just started :( wot would your var even do
griimnak
griimnak
just read it
LeChris
LeChris
yh doesnt help me LOL im a noob
Jaden
Jaden
you should use a const instead of a var when you declare variable that you assert that will not change globally, like require();

http://i.imgur.com/uL9kAFl.png
Jaden
Jaden
noob.
LeChris
LeChris
Thank you, I'm new to Node and for once that was actually helpful xoxo
griimnak
griimnak
very knit-picky buy okay
Jaden
Jaden
A thank you would've substitute just fine.
Top