Search Result


Tag : javascript

6 Posts

Is JavaScript the future?

A week ago or so I was trying to explain what JavaScript is to my mother. She's a 56-year-old lawyer, so I try to keep my concepts as basic as possible.

The story usually goes like this: "JavaScript was that shy person in the corner that no one was very fond of. Some years pass and that person got some

My favorite JavaScript libraries

JavaScript libraries appear on a daily basis, and I think it is almost impossible to catch up.

For this article, I'll stick to libraries and plug-ins and leave full frameworks for some other time. These are libraries that I have personally used in my developments.

moment.js

DateTime objects are always hell. Your application has one specification, the user's OS

Securing values in JavaScript

Using global variables in JavaScript is not commonly considered a good practice.

Besides these constraints, in web development, every user has access to the Window (or global) object. By putting variables on the global scope, you give any user the ability to see or change your variables.

So what can you do?

Well, if using globals is necessary in your