DEV Community

Discussion on: How To Use Variable Keywords In JavaScript Properly

Collapse
 
jochemstoel profile image
Jochem Stoel

It says on your profile that you are a learning web developer. I really like that you understand scopes but this is generally not a place where passwords are stored, especially not super important government ones. ;)

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

this is the sign that begs to differ This is the sign that begs to differ.

Collapse
 
manahmad profile image
Mansoor Ahmad

Well? Where's Godzilla?!

Collapse
 
manahmad profile image
Mansoor Ahmad

Oh, I completely understand! I was just using a pretty simple and impractical example to demonstrate the concept of scopes. I do not condone enclosing top-secret API keys, passwords, and other sorts of confidential information within the scope of an exposed program ;)

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

One day, maybe not today, maybe not tomorrow, this will become a normal thing as we move away from backends, or rather we smash the notion of servers. Clients will rule. That is my strange prediction.

Thread Thread
 
manahmad profile image
Mansoor Ahmad

That would be so weird but awesome at the same time. Write a blog post when it happens!